You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
var date = dateParser.parse(viewValue, dateFormat) || new Date(viewValue);
So if the date doesn't match the given format, bootstrap tests whether the value happens to produce a valid js date, which of course it shouldn't try to do at all.
Libraries
Test Case
dd/MM/yyyy
Expected Results
Invalid date. Or at least a date corresponding to the 4th of January 2015.
Observed Results
The date we find in the model is 1st of April 2015. This is obviously an incorrect date.
Working Example
http://plnkr.co/edit/3VHHBX?p=preview
The text was updated successfully, but these errors were encountered: