I 've just finished adding the DST support in Moodle. At least I think I have...
We should test this to see if it works as expected. So here is a preliminary test procedure I 've written down. Since I 'm already half asleep, I may have overlooked something and of course this would be far from a complete test. But it's a starting point. So please help with your comments or by performing the experiment (or a variation thereof).
- Take a server with TZ set to GMT+8 (Perth), no DST.
- Moodle is configured to use Server's timezone as default.
- User A has his timezone set to server timezone, no DST (Martin).
- User B has his timezone set to GMT, DST preset: UK (last Sunday of March, 1 am, until last Sunday of October, 2 am). It is important that this DST preset is created by user B, since the times of (de)activation (1 am/2am) are local time.
- The server's date/time is in February, thus no DST for anyone.
- User B creates an event on March 15, 00:00.
- User A should see this as March 15, 08:00.
- User B creates an event on April 15, 00:00 (that's in his DST period).
- User A should STILL see this as April 15, 08:00.
- The server's date/time is changed to be let's say April 1.
- Both users should see no change in their perceived event times.
- Repeat experiment in another server located in the UK which has DST enabled for itself. Results should be the same.
Jon