Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

DOB needs to be in UK format


gentlegiant

Recommended Posts

Double Checked....

 

 

@setlocale(LC_TIME, 'en_GB.ISO_8859-1');

 

define('DATE_FORMAT_SHORT', '%d/%m/%Y'); // this is used for strftime()

define('DATE_FORMAT_LONG', '%d %A %B, %Y'); // this is used for strftime()

define('DATE_FORMAT', 'd/m/Y'); // this is used for date()

define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

Link to comment
Share on other sites

  • 2 weeks later...
Double Checked....

@setlocale(LC_TIME, 'en_GB.ISO_8859-1');

 

define('DATE_FORMAT_SHORT', '%d/%m/%Y'); // this is used for strftime()

define('DATE_FORMAT_LONG', '%d %A %B, %Y'); // this is used for strftime()

define('DATE_FORMAT', 'd/m/Y'); // this is used for date()

define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

 

 

Hi,

just wandering if you managed to fix this? I changed a few things in includes/languages/english.php and now when I set up a test account it makes me enter MM/DD/YYYY for some reason although it looks correct on the website where you enter details. Do I need to change another file too???

 

Any tips?

Thanks

I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Link to comment
Share on other sites

Hi,

just wandering if you managed to fix this? I changed a few things in includes/languages/english.php and now when I set up a test account it makes me enter MM/DD/YYYY for some reason although it looks correct on the website where you enter details. Do I need to change another file too???

 

Any tips?

Thanks

 

Nope, not fixed this yet... will have to look into it soon...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...