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

Timeline date time seems to be a day early

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.6.6
    • Blocks
    • MOODLE_36_STABLE
    • Hide
      1. Login as teacher
      2. Enrol student on course

      Add calendar block to course

      1. Add assignment activity
        1. Set due date to 28th October 2019
        2. Save assignment
      2. Login as student
      3. Navigate to course
        1. Assignment should appear in the calendar at the specified time and date
      4. Navigate to Dashboard
        1. Assignment should appear in the calendar at the specified time and date
      5. Add Timeline block to Dashboard
        1. Assignment appears in the block, but for the 27th October
      Show
      Login as teacher Enrol student on course Add calendar block to course Add assignment activity Set due date to 28th October 2019 Save assignment Login as student Navigate to course Assignment should appear in the calendar at the specified time and date Navigate to Dashboard Assignment should appear in the calendar at the specified time and date Add Timeline block to Dashboard Assignment appears in the block, but for the 27th October

      If I set a due date on mod_assign to 10th November 2019 @ 16:00 (the date isn't important, just a future date), the assignment will appear in a students calendar, as expected.

      However, if, as a student, I add the Timeline block to my Dashboard, the date will display as 9th November @ 16:00 - 24 hours early.

      I'm working on my own plugin that is adding events to the calendar, and have found the same happening, so it's not an issue with mod_assign.

      I don't know if this is a bug or a feature, I suspect the former.

            Unassigned Unassigned
            sharpchi Mark Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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