I tried searching all the admin and the config options, but couldn't find anything like "Enable Daylight Savings Time support". I updated the list of timezones and selected the timezone to be "Europe/Helsinki".
Maybe it is now on, I'm not sure. Why I'm not sure is, that when I put a repeating event in the calendar, the time has an offset of one hour after the DST "line", indicating that Moodle is not calculating the time correctly according to the DST here in Finland. (?) Using 1.5.2+
This is a known (well, to me at least ) bug, simply put the code that creates repeats (/calendar/event.php line 220) hasn't been updated since we added the DST capability to take advantage.
You mean that if all the repeats fall in "DST on" or "DST off", everything is fine, right? The wrong offset only happens if the DST line is in the middle of the repeats.
You mean that if all the repeats fall in "DST on" or "DST off", everything is fine, right? The wrong offset only happens if the DST line is in the middle of the repeats.
Update:
It's now fixed in 1.5.x and 1.6 dev. Thanks for the reminder and the nudge Samuli.
It's now fixed in 1.5.x and 1.6 dev. Thanks for the reminder and the nudge Samuli.
How does Moodle support DST? Let's take the example of DST in France.
- Winter time ("normal time" to me) in France is GMT+1.
- Summer time (DST ) in France is GMT+2.
When I have repeated events over a period astride summer time and winter time (typically events repeated weekly over october-november), the following situations obtain:
- Admin settings timezone = Server's local time -> times are shifted in my calendar: no good
- Admin settings timezone = GMT+1 -> times are OK
Thanks
Joseph
The best thing to do is to 'Update complete list of timezones...' in the calendar menu (configuration) and to chose the Europe/Paris timezone. This should work.
Thanks Jean-Pierre,
Are you positive that setting the Europe/Paris timezone once for all will take care of the DST problem?
Joseph
Are you positive that setting the Europe/Paris timezone once for all will take care of the DST problem?
Joseph
Don't forget to set the timezone in the variables menu (configuration) to Europe/Paris...
If you use the "named" timezones (eg Europe/Paris) then yes, everything should "just work". If you use the "hardcoded" timezones (eg GMT+1) then DST is not taken into account (of course).