Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Time zone setting?

edited October 2013 in Vanilla 2.0 - 2.8

I'm using 2.1b2 and I have a problem reported in other posts about the time zone not being reported properly when not logged in. I set date.timezone = America/Los_Angeles in php.ini (the setting was previously commented out).

In looking at my boostrap.php file, I can see


but according to the linked post, in a previous version it was:
if (ini_get('date.timezone') == '') date_default_timezone_set('America/Montreal');

Should I just change to date_default_timezone_set('America/Los_Angeles')? Use the previous version's code?



Sign In or Register to comment.