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

When moving an event the end date needs to be adjusted

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 4.4
    • Calendar
    • MOODLE_404_STABLE
    • MDL-81559-main
    • Hide

      Login to Moodle

      Step: In the calendar create a new event at a future date (e.g. click in the calendar into three days ahead of the current day). When the modal opens, click the more link to expand the window.

      Expected outcome: The start and end date should have the same values. The day must be the one that was clicked in the calendar. The other fields should be filled with the values from the todays date.

      Step: Fill out a name, set a duration of 180 minutes and save the entry.

      Step: Reopen the entry. In the dialogue the start and end date should be the onces given by you before.

      Step: Click edit and change the start date to the the next day and save the entry without clicking the more link or changing anything there.

      Expected outcome: The event is moved to the next day, start and end time is the same as before.

      Step: Edit the event once again, set the start time to 10pm and save the event.

      Expected outcome: The end date has been moved to the next day past 1am because of the duration of 3 hours.

      Step: Edit the event once again, also click the more link to expand the window. Change any of the fields in the start date (e.g. day, month, year, hour and minute).

      Expected outcome: The end date changes accordingly so that these 3 hours of duration are preserved.

      Step: Click in one of the end date fields. Then go back to the start date and change it.

      Expected outcome: The end date does not change anymore whenever you change the start date.

      Show
      Login to Moodle Step : In the calendar create a new event at a future date (e.g. click in the calendar into three days ahead of the current day). When the modal opens, click the more link to expand the window. Expected outcome: The start and end date should have the same values. The day must be the one that was clicked in the calendar. The other fields should be filled with the values from the todays date. Step : Fill out a name, set a duration of 180 minutes and save the entry. Step : Reopen the entry. In the dialogue the start and end date should be the onces given by you before. Step : Click edit and change the start date to the the next day and save the entry without clicking the more link or changing anything there. Expected outcome : The event is moved to the next day, start and end time is the same as before. Step : Edit the event once again, set the start time to 10pm and save the event. Expected outcome : The end date has been moved to the next day past 1am because of the duration of 3 hours. Step : Edit the event once again, also click the more link to expand the window. Change any of the fields in the start date (e.g. day, month, year, hour and minute). Expected outcome : The end date changes accordingly so that these 3 hours of duration are preserved. Step : Click in one of the end date fields. Then go back to the start date and change it. Expected outcome : The end date does not change anymore whenever you change the start date.

    Description

      If a calendar event is created and an end date or duration is given and later the event needs to be moved to a later date/hour, the end date must be adjusted by any means.

      This could be handled automatically so that to the difference of the start date is also automatically calculated to the end date.

      This helps improve usability and errors, because the end date is not really visible be the user (needs to scroll or click the more link).

      Technically the adaption should probably happen only when the start date is first changed and the end date has never been touched before. Also on creation you can give a duration instead of an end date. However, after saving the end date is created from the duration and in the event it cannot be distinguished anymore whether an specific end date or a duration was provided. End date calulations with a duration are a lot easier when an event is moved.

      Attachments

        Issue Links

          Activity

            People

              strobotta Stephan Robotta
              strobotta Stephan Robotta
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Clockify

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