-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
2.3.10, 2.6.2, 2.7.7, 2.8.5
-
MOODLE_23_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
-
-
- Add the attached file userdate_test.php to lib/tests.
- Run all the PHPunit tests.
We had several students who uploaded an assignment on time, but Moodle had somehow already added one hour for daylight savings time long before the change was supposed to take effect. This caused Moodle to mark the submission as late. For example, an assignment was due at 11:55pm on Saturday, March 8, 2014. The time change was supposed to occur two hours and five minutes later at 2:00am on Sunday, March 9, 2014. The student uploaded the assignment at 11:50pm on March 8th, but Moodle recorded the assignment's last modified date as "Sunday, March 9, 2014, 12:50AM," essentially 55 minutes late. Moodle somehow factored in the additional hour a little over two hours before the time change was supposed to happen.
We are running Moodle 2.3.7 on a Linux machine. This version of Moodle was not in the list, so I chose the next nearest version.
I am not sure about steps to recreate the problem.
- has a non-specific relationship to
-
MDL-14158 DST changes not being applied on time
- Closed
- will be (partly) resolved by
-
MDL-49684 Replace custom Moodle timezone stuff with standard PHP date/time code
- Closed
-
MDL-51822 Update timezones info to latest version available (2015g)
- Closed
- will help resolve
-
MDL-44680 Moodle calculates DST shift early in some cases
- Closed