Post by Mike Guenther » Wed Oct 04, 2017 1:33 am

Hello,

I have this changed everywhere in OC (using 2.3.0.2) and the only place where it isn't displaying how I would like is in the confirmation emails. The format in those is still:

Day/Month/Year

I would like it to read: Month/Day/Year

I have search for this answer all over and the only post I can find is from 2015 which points to code that must be from an older version as I do not find that particular code

http://forum.opencart.com/viewtopic.php ... te#p559485.

Any help would be appreciated.

Thanks.

Active Member

Posts

Joined
Thu Oct 13, 2011 12:00 am

Post by webcorvo » Wed Oct 04, 2017 2:30 am

Hi,
Is easy, jut edit the en-gb.php
is on -> catalog/en-gb.php
and change :
$_['date_format_short'] = 'd/m/Y';
to
$_['date_format_short'] ='m/d/Y';

Opencart Developer - For custom work and support contact @ webcorvo@gmail.com


User avatar
Active Member

Posts

Joined
Mon Mar 20, 2017 11:42 pm
Location - Lisbon, Portugal

Post by Mike Guenther » Wed Oct 04, 2017 2:59 am

That did it-thank you.

Active Member

Posts

Joined
Thu Oct 13, 2011 12:00 am

Post by webcorvo » Wed Oct 04, 2017 3:01 am

You are welcome ;)

Opencart Developer - For custom work and support contact @ webcorvo@gmail.com


User avatar
Active Member

Posts

Joined
Mon Mar 20, 2017 11:42 pm
Location - Lisbon, Portugal
Who is online

Users browsing this forum: No registered users and 350 guests