Zen Cart Logo
Forums / General Questions / Correct time in ADMIN area, WRONG time on ORDER CONFIRMATION

Correct time in ADMIN area, WRONG time on ORDER CONFIRMATION

Views: 832

Results 1 to 2 of 2
16 Apr 2013, 6:13 AM
#1
yoshi_m avatar

yoshi_m

New Zenner

Join Date:
Jan 2013
Posts:
9
Plugin Contributions:
0

Correct time in ADMIN area, WRONG time on ORDER CONFIRMATION

Hey guys please I need some help, I have been researching ways to correct the timezone issue on this forum, and I finally was able to update my php5.ini file, changing the timezone to my local time.

This change reflected correctly in the ADMIN area, but for some reason, it doesn't seem to register on order times.

My order times are still set to the wrong time, and I have no idea how to proceed from here.

Any help would be appreciated.

Running zencart 1.5.1, php 5.3.

16 Apr 2013, 6:44 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Correct time in ADMIN area, WRONG time on ORDER CONFIRMATION

but for some reason, it doesn't seem to register on order times.

My order times are still set to the wrong time
Wrong - how??

You might look at your language.php file - english.php if your site is in english

  @setlocale(LC_TIME, 'en_US');
  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');