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

Mini Calendar Missing "Last Hour of DST Month" Events

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.6.6, 2.8.1, 2.9
    • Calendar
    • MOODLE_26_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • patch-1
    • Hide

      Reschedule the event to not take place during the last hour of the last day of the month in which DST ends.

      Show
      Reschedule the event to not take place during the last hour of the last day of the month in which DST ends.
    • Easy
    • Hide

      Go to Site administration > Location > Update timezones and do a timezone update.
      Go to Site administration > Location > Location settings and set Default timezone to America/New_York.
      Create assignment with end time set to November 30, 23:55. (or the last day of the current/any month)
      Add Calendar block to course.
      View November (or the month you've created the on Monthly Calendar block (switch the month if needed, don't click on the month name or it will take you to a different page).
      It should show up there.

      Show
      Go to Site administration > Location > Update timezones and do a timezone update. Go to Site administration > Location > Location settings and set Default timezone to America/New_York. Create assignment with end time set to November 30, 23:55. (or the last day of the current/any month) Add Calendar block to course. View November (or the month you've created the on Monthly Calendar block (switch the month if needed, don't click on the month name or it will take you to a different page). It should show up there.

      An event scheduled for the last hour of November on a server with United States DST rules will not show up in the mini-calendar. The code assumes that all of the days in the month have the same number of seconds, but the "fall back" day has an extra hour, which means that events during the last hour of the month are not returned in the dataset.

            jrchamp Jonathan Champ
            jrchamp Jonathan Champ
            Simey Lameze Simey Lameze
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

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