PHP warnings for date/time functions and TimeZone convert
Bug #1435833 reported by
Alex
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
queXS |
Opinion
|
Undecided
|
Unassigned |
Bug Description
some time ago figured a lot of PHP Warnings in http logs similar to:
"PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_
Appeared that it is better to set server date.timezone
To do so edit your php.ini file -> find block [Date] uncomment or add if not exist string (in my case string 957 )
date.timezone = " Your/Zone" in Olson format
this should eliminate Warning messages and lead to proper timezone conversion and php date/time functions execution
Alex
Changed in quexs: | |
status: | New → Fix Committed |
Changed in quexs: | |
status: | Fix Committed → Opinion |
To post a comment you must log in.