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

Current day not displayed by default when using the Day view

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Test 1

      1. Log in as admin
      2. Access the calendar using the link in the navigation bar
      3. Change the view of the calendar to the day view (by changing the Month dropdown to Day)
      4. Verify that the current day is displayed
      5. Chane the view to the month view
      6. Change the view to the day view again
      7. Verify that the current day is displayed

      Test 2

      1. Log in as admin
      2. Go to the site home page
      3. Turn the editing on and add a calendar block to the page if there is no calendar block there already
      4. Click on the current month name in the calendar block
      5. Change the view of the calendar to the day view (by changing the Month dropdown to Day)
      6. Verify that the current day is displayed
      Show
      Test 1 Log in as admin Access the calendar using the link in the navigation bar Change the view of the calendar to the day view (by changing the Month dropdown to Day) Verify that the current day is displayed Chane the view to the month view Change the view to the day view again Verify that the current day is displayed Test 2 Log in as admin Go to the site home page Turn the editing on and add a calendar block to the page if there is no calendar block there already Click on the current month name in the calendar block Change the view of the calendar to the day view (by changing the Month dropdown to Day) Verify that the current day is displayed
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull from Repository:
    • Pull 3.8 Branch:
    • Pull Master Branch:
      MDL-67152-master

      Description

      Steps to reproduce:

      1. Access to the site calendar using the Calendar block, by clicking at the current month name
      2. Change the Month dropdown to Day

      Expected result:

      • The current day is displayed.

      Current result:

      • The first day of the current month is displayed.

       

      If the site navigation bar (left) is used to access the site calendar, it works as expected.

      The difference between these links is the "&time=1572562800" in the URL.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Jan/20

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours, 37 minutes
                  1d 4h 37m