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

Changing month should use year + month instead of timestamp

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide
      1. Open the main calendar
      2. Add a calendar event
        1. Confirm the month reloaded to show the correct month with the new event
      3. Drag/drop a calendar event
        1. Confirm the month reloaded to show the correct month with the new event
      4. Drag/drop a calendar event to a different month
        1. Confirm the month reloaded to show the correct month with the new event
      5. Use the navigation to move forward a month
        1. Confirm the month changed
      6. Reload the page
        1. Confirm that the same month is still shown
      7. Move forward a few more months
        1. Confirm the month changed each time
      8. Move back a few months
        1. Confirm the month changed each time
      9. Click the "Calendar" link in the breadcrumbs
      10. Change back and forth month a few times
        1. Confirm the month changed each time
      11. Open your dashboard and add the calendar block
      12. Use the navigation to move forward some months
        1. Confirm the month changed each time
      13. Use the navigation to move back some months
        1. Confirm the month changed each time
      14. Open a course and add the calendar block
      15. Use the navigation to move forward some months
        1. Confirm the month changed each time
      16. Use the navigation to move back some months
        1. Confirm the month changed each time
      Show
      Open the main calendar Add a calendar event Confirm the month reloaded to show the correct month with the new event Drag/drop a calendar event Confirm the month reloaded to show the correct month with the new event Drag/drop a calendar event to a different month Confirm the month reloaded to show the correct month with the new event Use the navigation to move forward a month Confirm the month changed Reload the page Confirm that the same month is still shown Move forward a few more months Confirm the month changed each time Move back a few months Confirm the month changed each time Click the " Calendar " link in the breadcrumbs Change back and forth month a few times Confirm the month changed each time Open your dashboard and add the calendar block Use the navigation to move forward some months Confirm the month changed each time Use the navigation to move back some months Confirm the month changed each time Open a course and add the calendar block Use the navigation to move forward some months Confirm the month changed each time Use the navigation to move back some months Confirm the month changed each time
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-60125-master

      Description

      There are a few potential issues with trying to change month and navigate using just a timestamp. In many situations it will be better to use a fixed year, month [day].

        Attachments

        1. screenshot-1.png
          21 kB
          David Mudrák (@mudrd8mz)

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              dobedobedoh Andrew Nicols
              Peer reviewer:
              Simey Lameze
              Integrator:
              Jun Pataleta
              Tester:
              David Mudrák (@mudrd8mz)
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Nov/17