I ma having a problem with my admin panel where the time is being recorded only in UTC format.
I searched the forums and found an older thread covering this for earlier versions saying that the corrrect way was to update the Startup.php file to set the time.
I modified my startup file but have not seen the change just yest..
I am in AZ and that would be UTC-7 as we do not utilze daylight savings.
However, in searching online I had found the setting their should be "America/Phoenix" for this..
Can anyone set me straight?
Thanks
I searched the forums and found an older thread covering this for earlier versions saying that the corrrect way was to update the Startup.php file to set the time.
I modified my startup file but have not seen the change just yest..
I am in AZ and that would be UTC-7 as we do not utilze daylight savings.
However, in searching online I had found the setting their should be "America/Phoenix" for this..
Can anyone set me straight?
Thanks
Attachments
time zone in startup php.jpg (72.67 KiB) Viewed 1041 times
it says to set the default timezone to phoenix if it is not defined in the php.ini file.
So it probably is set there.
So just remove the condition and force it to phoenix.
So it probably is set there.
So just remove the condition and force it to phoenix.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
You might run into issues if you change the PHP timezone and your mySQL timezone still resides in UTC. Mostly on statements using now(), there was something about this posted on OC GitHub repo awhile back.
Search the marketplace there might be some extensions that allow you to do this.
https://www.opencart.com/index.php?rout ... n_id=31349
Search the marketplace there might be some extensions that allow you to do this.
https://www.opencart.com/index.php?rout ... n_id=31349
Backup and learn how to recover before you make any changes!
Probably referring about this one: https://github.com/opencart/opencart/co ... 2188475761Mostly on statements using now(), there was something about this posted on OC GitHub repo awhile back.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 63 guests