Can't set plan task completion date to today's date
Bug #1901256 reported by
Kristina Hoeppner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned | ||
21.10 |
Fix Released
|
High
|
Unassigned |
Bug Description
It is not possible to create a plan task with today's date as completion date because (I think) it uses midnight as time and that will have already passed.
This may need to be a general fix, i.e. when we use the date picker and there is no time displayed, we always assume it is the end of the day, e.g. date at 23:59 instead of date at 00:00.
To replicate:
1. Create a plan and a task.
2. In the date picker for 'Completion date' select today's date.
3. Save.
Expected result: The form is saved correctly.
Actual result: Error message "The completion date must be in the future." is displayed.
Changed in mahara: | |
status: | Confirmed → In Progress |
Changed in mahara: | |
milestone: | 21.04.0 → 21.04.1 |
Changed in mahara: | |
status: | In Progress → Confirmed |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/11408