Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change the calendar pop up format ?


TheBest

Recommended Posts

Posted

Hi

 

When a new customer is registrating it must type in his/hers birthday.

My installation requires the format DD/MM/YY but when I use the pop up calendar the format of the date is MM/DD/YY and then the registration fails because of this.

 

What can I do to make these match ?

I would like to use DD/MM/YY as that is what we use in Norway.

 

 

Thanks

 

Petter

Posted

Why not just remove the option to use birthday in your admin. I do not know any store owners that use it. Log in to your admin and go to configuration - customer details and turn date of birth to false.

REMEMBER BACKUP, BACKUP AND BACKUP

Posted

Why not just remove the option to use birthday in your admin. I do not know any store owners that use it. Log in to your admin and go to configuration - customer details and turn date of birth to false.

 

 

Okay...sounds like a good idea.

Posted

You find in main language file.

define('JQUERY_DATEPICKER_FORMAT', 'mm/dd/yy'); // see http://docs.jquery.com/UI/Datepicker/formatDate

 

need to change

define('JQUERY_DATEPICKER_FORMAT', 'dd/mm/yy'); // see http://docs.jquery.com/UI/Datepicker/formatDate

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...