Open benscanfiles opened 8 years ago
What is your php.ini date.timezone
option currently set as?
What about the config.inc.php
options $use_client_tz
and $use_server_tz
?
I have both config.inc.php
options set to no
, and my timezone is set in php.ini correctly. I don't have any issues with this. FYI php defaults to GMT when date.timezone
is unset or left as default.
Also I'll commit an addition to config.inc.php
which will allow the system to override the php.ini timezone in case you can't modify it.
Take a look at this commit and see if it fixes your issue 4e76ac5d1e951768d3149242eb1985219ba6b4fb if it does then fix date.timezone
in your php.ini :)
Sorry I just saw this. In php.ini, that was one of the first things I set: date.timezone="America/Los_Angeles"
I have a potentially serious blocking bug, and that is that reports ignore the local timezone and are always in GMT. Dealing with date/time functions in php is not one of my stronger areas and I really need some help in fixing it. Even with using the server time, and client offset time, time displayed on reports AND on the main home screen are always in GMT. I have checked the cookie and have verified that it has the correct offset (-480 GMT-8). This cookie seems to get sent/set regardless of the settings you have chosen.
Personally, I would prefer to have a timezone setting in the settings page where I could simply choose what timezone I wanted to use globally. I've looked into this but frankly I'm not sure how I would do it. For the moment I need this particular bug solved before I can invest tons of time into it.