← Back to team overview

mahara-contributors team mailing list archive

[Bug 1901256] A change has been merged

 

Reviewed:  https://reviews.mahara.org/11408
Committed: https://git.mahara.org/mahara/mahara/commit/bc02d8d88b24db0de6dc84b7308acebfa7a172d6
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit bc02d8d88b24db0de6dc84b7308acebfa7a172d6
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Thu Oct 29 10:45:32 2020 +1300

Bug 1901256: Allow today's date to be used as completion date

Change-Id: Iaa7bb4ad5b0322af3efc7de4be6ed16e2ab46f3d
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1901256

Title:
  Can't set plan task completion date to today's date

Status in Mahara:
  Fix Committed
Status in Mahara 21.10 series:
  Fix Committed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1901256/+subscriptions


References