Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.6.4, 3.7.1, 3.7.2
-
MOODLE_36_STABLE, MOODLE_37_STABLE
-
MOODLE_310_STABLE
-
master-
MDL-66716 -
Description
Original description:
- Create new course with completion tracking enabled
- Add label with Activity Completion Expected Completion date of 22nd Dec 2019
- Go to the dashboard
- Change Timeline block to show 6 months ahead
- See that date due for the label created at 2. is 21st Dec 2019 (one day before what it should be)
- This does not occur for dates within the next 5 weeks (so today, 18th Sept 2019, dates of 27th Oct 2019 and forwards show correctly in the Timeline block)
- This has been tested with quiz and assignment with the same result
Update:
So the issue can be caught, when user in timezone which observes DST being in summer has winter events in their Timeline block.
MDL-63044 was designed to rely on user timezone set in Moodle, not the timezone that can be retrieved from user browser.
However, having today user midnight timestamp is not enough to figure out user timezone and does it observe DST or not (eg Melbourne, Australia vs Vladivostok, Russia).