Karl_T Posted July 24, 2017 Share Posted July 24, 2017 Greeting. I am having hard time trying to make the time inside processwire correct. I have a correct server time. I have a correct time zone inside config.php, echo correctly in php. I get correct timestamp when echo in php and using tracy debugger console. However, the time stored for creation, modified, changelog are all using Unix Timestamp, i.e. UTC, while my correct time should be UTC+8. What is the possible config having this behavior? Link to comment Share on other sites More sharing options...
Karl_T Posted July 24, 2017 Author Share Posted July 24, 2017 Fixed. The time of modified, created and changlog(module) is reading the database server timezone. I am using a remote database, so the timezone is different from the web server. The issue fixed after changing the remote database server timezone. 1 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