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

Events do not display on the day view page of the calendar (DST issue)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.7.2, 2.8
    • None
    • Calendar
    • MOODLE_27_STABLE, MOODLE_28_STABLE

    Description

      When a month contains a DST change, the times in the links generated in the calendar block do not correspond with midnight, they're off by an hour.

      Thus when an event is scheduled at midnight, but the link generated is for 1am (by mistake due to this bug), when following the link, the day view of the calendar claims there's no events.

      Expected Outcome:
      Clicking on the link to the day view of the calendar, from the month list in the calendar block, a list of activities due on that day are displayed.

      Actual Outcome:
      Clicking on the link to the day view of the calendar, from the month list in the calendar block, results in a 'There are no events on this day' message.

      Steps to Replicate:
      1. Create a course
      2. Create an assignment, set due date to tomorrow
      3. Add calendar block to topic
      4. Click on month name in block to access monthly view
      5. Hover over the day in the calendar
      6. Click the link for the assignment due tomorrow to go to the day view
      7. The day view appears empty. The message message 'There are no events on this day' is displayed.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              techxplorer Corey Wallis
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: