Details
-
Type:
Sub-task
-
Status: RESOLVED
-
Priority:
Major
-
Resolution: Incorporated
-
Affects Version/s: 10.4, 11.0
-
Fix Version/s: None
-
Component/s: Reference
-
Labels:None
Description
Problem is most easily seen in Tests & Quizzes once SAM-2315 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();