Parsley.js
Parsley.js copied to clipboard
Date validation on Internet Explorer 11 fails
What kind of issue is this? (put 'x' between the square brackets)
-
[ ] Question. This issue tracker is not the place for questions. If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use http://stackoverflow.com/questions/ask . Provide working code, starting from http://codepen.io/marcandre/pen/jqbzyN?editors=101. We monitor the tag
parsley.js
. -
[x ] Bug report. If you’ve found a bug, you must provide a minimal example in a CodePen, starting from http://codepen.io/marcandre/pen/jqbzyN?editors=101 .
-
[ ] Feature Request. Make sure there's no good way to do what you want first; consider asking on http://stackoverflow.com/questions/ask first.
In Internet Explorer Parsley only accepts dates in ISO format. If you're using an other format for the date, like e.g. the German’s default "31.12.1970", parsley will not accept the date in IE11 – you have to type in "1970-12-31".
Because CodePen blocks IE 11, I have to paste the example here:
<input type="date" id="date-of-birth" name="date-of-birth" placeholder="" value="">
Same problem on Safari macOS input date is not supported. Works on iOS because input date is partially supported.