|
[
Permalink
| « Hide
]
Michael Spall added a comment - 10/Nov/07 01:59 PM
If you switch the setting Administration>Location>Location settings>Default timezone(timezone) from "Server's local time" to any other setting the graph appears correctly.
Correction:
If you switch the setting Administration>Location>Location settings>Default timezone(timezone) from "Server's local time" or a setting that uses daylight savings time to a setting that doesn't use daylight savings time, e.g, MST or -7 the graph appears correctly. Michael,
Your suggested workaroung may indeed solve the current problem, but then it means that the "country timezones" time system is no longer available on the moodle site. I think another, long-term solution should be found, which would allow the use of a country timezone which has a daylight savings time system (such as most European countries) AND does not mess up dates in the logs graph... It also has the problem of showing incorrect times for historical data during the daylight savings periods.
Is this a regression? I'm almost certain this used to work correctly ...
Petr Skoda made changes - 04/Jan/08 12:50 AM
Michael Spall made changes - 16/Feb/08 08:06 AM
I doubt it is a regression, I think it depends on version of PHP and combination of timezone/DST.
The PHP versions for our Moodle sites were 5.2.0 and 5.2.4 at the time the issue was filed. The sites with PHP 5.2.4 were updated to PHP 5.2.5 and the issue was still present.
I have wondered whether the issue is incorrect values in mdl_timezone, specifically in the dst_time and std_time fields. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||