Have a 1.5.4 site on shared Linux hosting that is showing the following text in the Admin header: "ADMIN_NAV_DATE_TIME_FORMAT +0000 GMT [xx.xxx.85.103] my.hostingcompany.com - UTC - en_US"
Another Zen Cart 1.5.4 install on the same server does show date/time in Admin header but is about 6 hours different than my local time:
"Sunday 24 Jan 2016 01:16:29 AM +0000 GMT [xx.xx.85.103] my.hostingcompany.com - UTC - en_US"
Two questions- how can I get the one cart to show date/time in Admin and also how to adjust time so it shows my local New York time.
I found this in myadmin/includes/header.php with Developers Tool kit search but don't know if/or how to make changes:
Line #232 : echo ((strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') ? iconv('ISO-8859-1', 'UTF-8', strftime(ADMIN_NAV_DATE_TIME_FORMAT, time())) : strftime(ADMIN_NAV_DATE_TIME_FORMAT, time())); //windows does not "do" UTF-8...so a manual conversion is necessary
Thanks, Ted


Reply With Quote
