kenuk1 Posted December 22, 2005 Share Posted December 22, 2005 Hi all, Ive been trying to find some help on these forums but cant get what I need. The dates on my site are all in the US format MM/DD/YY, does anyone know hoe to change the date to DD/MM/YY. Its the same for products arriving soon and when you are signing up, gets a bit cionfusing for some apparently lol Any help would be much appreciated! Merry Xmas :) Link to comment Share on other sites More sharing options...
Wendy James Posted December 22, 2005 Share Posted December 22, 2005 I believe you change that in whichever language file you are using. I am using catalog/includes/languages/english.php Right near the top you should see define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime() define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() define('DATE_FORMAT', 'm/d/Y'); // this is used for date() define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); If you change it there, it should do the trick across the site, atleast for where the customers see. Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
kenuk1 Posted December 22, 2005 Author Share Posted December 22, 2005 I believe you change that in whichever language file you are using.I am using catalog/includes/languages/english.php Right near the top you should see define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime() define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() define('DATE_FORMAT', 'm/d/Y'); // this is used for date() define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); If you change it there, it should do the trick across the site, atleast for where the customers see. I'll give it a shot, thanks a lot :thumbsup: Merry Xmas! Link to comment Share on other sites More sharing options...
kenuk1 Posted December 23, 2005 Author Share Posted December 23, 2005 define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() Not sure on this one, what do I change it too? define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() I changed all the others and it seems that the products that are "due in" are still showing MM/DD/YYYY> Cheers Ken Link to comment Share on other sites More sharing options...
Guest Posted December 23, 2005 Share Posted December 23, 2005 take a look here: http://www.oscommerce.com/forums/index.php?showtopic=177835 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.