← Back to team overview

mahara-contributors team mailing list archive

[Bug 1901256] Re: Can't set plan task completion date to today's date

 

** Changed in: mahara/21.10
       Status: In Progress => Fix Committed

-- 
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