Problem is most easily seen in Tests & Quizzes once lands in master. An assessment has optional dates for start, end (due date), retract date, and feedback date.
But our datepicker doesn't like emptiness right now, and it pre-fills the empty values with the current date + time.
We need some way to pass a variable to localDatePicker() to tell it to leave our empty values alone.
In the initDateTime() function there is this line that is setting it:
works nice for published assessments, but working copies of assessments still don't have this feature. It's not possible deleting a date after setting it.
I have verified and I propose to manage the pending work for working copies in this JIRA.
Diego del Blanco Orobitg March 7, 2016 at 8:37 AM
Some work has been done in SAM-2607.
Bernardo Garcia Vila May 7, 2015 at 5:32 AM
Same for Forums, you can't put an open date and leave close date blank.
Problem is most easily seen in Tests & Quizzes once lands in master. An assessment has optional dates for start, end (due date), retract date, and feedback date.
But our datepicker doesn't like emptiness right now, and it pre-fills the empty values with the current date + time.
We need some way to pass a variable to localDatePicker() to tell it to leave our empty values alone.
In the initDateTime() function there is this line that is setting it:
if (!initVal) initVal = new Date();