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

As a student in a weeks-format course, I want to be able to see the weekly dates displayed relative to my start date, so that I can plan my coursework

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Note

      This requires the changes from MDL-66143 in order to work.

      Test relative dates

      1. Log in as admin
      2. Turn on the relative course dates experimental setting
        • Site administration > development > experimental settings
      3. Create a course with:
        • relative dates enabled
        • course start date set to 10 days ago
        • format set to "weekly"
      4. Enrol a student in the course and set their enrolment start date to the same as the course start
      5. Enrol a student in the course and set their enrolment start date to 9 days ago (1 day after the course start)
      6. Log in as the first user
      7. View the course
      8. CONFIRM that the first section begins at the course start date (10 days ago) and goes up in 1 week increments from there
      9. Log in as the second user
      10. View the course
      11. CONFIRM that the first section begins at the user's enrolment start date (9 days ago) and goes up in 1 week increments from there

      Test fixed dates

      1. Log in as admin
      2. Create a course with:
        • relative dates disabled
        • course start date set to 10 days ago
        • format set to "weekly"
      3. Enrol a student in the course and set their enrolment start date to the same as the course start
      4. Enrol a student in the course and set their enrolment start date to 9 days ago (1 day after the course start)
      5. Log in as the first user
      6. View the course
      7. CONFIRM that the first section begins at the course start date (10 days ago) and goes up in 1 week increments from there
      8. Log in as the second user
      9. View the course
      10. CONFIRM that the first section begins at the course start date (10 days ago) and goes up in 1 week increments from there
      Show
      Note This requires the changes from MDL-66143 in order to work. Test relative dates Log in as admin Turn on the relative course dates experimental setting Site administration > development > experimental settings Create a course with: relative dates enabled course start date set to 10 days ago format set to "weekly" Enrol a student in the course and set their enrolment start date to the same as the course start Enrol a student in the course and set their enrolment start date to 9 days ago (1 day after the course start) Log in as the first user View the course CONFIRM that the first section begins at the course start date (10 days ago) and goes up in 1 week increments from there Log in as the second user View the course CONFIRM that the first section begins at the user's enrolment start date (9 days ago) and goes up in 1 week increments from there Test fixed dates Log in as admin Create a course with: relative dates disabled course start date set to 10 days ago format set to "weekly" Enrol a student in the course and set their enrolment start date to the same as the course start Enrol a student in the course and set their enrolment start date to 9 days ago (1 day after the course start) Log in as the first user View the course CONFIRM that the first section begins at the course start date (10 days ago) and goes up in 1 week increments from there Log in as the second user View the course CONFIRM that the first section begins at the course start date (10 days ago) and goes up in 1 week increments from there
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:
      MDL-66144-master
    • Story Points:
      3
    • Sprint:
      Sprint 2 - Experimental

      Description

      When a relative dates course is set to the "weekly" course format the dates for each section should be relative dates for the user.

      Acceptance criteria:

      • Dates should only be relative when the course is set to "relative dates"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ryanwyllie Ryan Wyllie
                Reporter:
                ryanwyllie Ryan Wyllie
                Peer reviewer:
                Jun Pataleta
                Integrator:
                Jake Dallimore
                Tester:
                Gladys Basiana
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Nov/19

                  Time Tracking

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