date_utils.js
4.45 KB
-
Fixes for course updates date validation. · 78af4100
If the first date the user selects is invalid it is not set on the model. This is because jQuery datepicker's getDate returns the current date when an invalid value is put in the field and the model's initial value is also the current date. So always update the date.
Usman Khalid committed