Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Date format from US to UK


Guest

Recommended Posts

Posted

Does anyone know who to change the format of the dates from US to UK (In particular when a customer enters their date of birth)

 

If so, could you please give me an idea - i'm a total novice !

 

Cheers

 

paul

Posted
Does anyone know who to change the format of the dates from US to UK (In particular when a customer enters their date of birth)

 

If so, could you please give me an idea - i'm a total novice !

 

Cheers

 

paul

 

Hi Paul,

 

There is a contrib which changes everything from a non UK friendly version into a friendly version.

 

If you do a search in community for it, you should be able to find it, if not just send me a message and I'll upload it for you so that you can download.

 

Would do it now but had too many beers and just woke up :)

Posted

Actually, you already have the info you need. The german.php and spanish.php files in includes/languages/ and in admin/includes/languages/ already have the correct format for the UK of DD/MM/YYYY, as opposed to the USA method of MM/DD/YYYY

 

Don't forget to also edit the text that appears on the page - includes/languages/english.php and admin/includes/languages/english.php

 

Vger

Archived

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

×
×
  • Create New...