[email protected] Posted May 1, 2018 Share Posted May 1, 2018 I have been tackling this problem for a while. Tried a lot of hints and tricks, but I still couldn't find an answer. Hopefully someone can give me some tips on how to finally solve this. Currently, my shop's on 1.4.0.17. The time zone I have verified as set to America/Los_Angeles. In the configuration table in the db, I have also confirmed it has the value of America/Los_Angeles, which also reflect the value in the timezone table. The server's hwclock is confirmed to be on PST, and so is date(). PHP 5.3.2 is also reporting date as America/Los_Angeles. php.ini's date.timezone is also set to America/Los_Angeles. However, the time zone setting apparently doesn't apply. Orders are being placed in UTC. Looking at the order entry dates, everything is in UTC time. Changing the time zone setting to anything takes no effect. I have also tried forcing a time zone in config.inc, to no effect either. If I change the hardware clock, the clock changes too, but that's not really a fix, since time zones do not apply. I don't know where else I can possibly check to see if the time zone is not being applied. If there is anything else I can try, please let me know, because I'm out of ideas. Any help is much appreciated! Link to comment Share on other sites More sharing options...
selectshop.at Posted May 1, 2018 Share Posted May 1, 2018 The time zone set for your server you can check on phpinfo.php file. On your server you should check if time-zone is set to all server instances, this means on this server file: /etc/php5/apache2/php.ini Link to comment Share on other sites More sharing options...
[email protected] Posted May 1, 2018 Author Share Posted May 1, 2018 This is a bug in my code, How can I delete the question? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now