Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-44569

DST Activates Hours Early: Affects Assignment, Quiz, Calendar, etc.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • 2.3.10, 2.6.2, 2.7.7, 2.8.5
    • Libraries
    • MOODLE_23_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
    • Hide

      Move to sunny Perth (no DST).

      Show
      Move to sunny Perth (no DST).
      1. Add the attached file userdate_test.php to lib/tests.
      2. 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.

        1. timezone_check.php
          2 kB
          Jonathan Champ
        2. timezone.txt
          154 kB
          Jonathan Champ
        3. userdate_test.php
          806 kB
          Mark Nelson

            jrchamp Jonathan Champ
            gdharris Gary Harris
            Mark Nelson Mark Nelson
            David Monllaó David Monllaó
            Votes:
            7 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.