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 was archived by the owner on Apr 12, 2024. It is now read-only.
Using the input type="date" tag, the date validates as true when any numeric value that follows the date format of yyyy-MM-dd is typed into the input control. Dates of 0000-00-00 and 9999-99-99 are marked as valid dates. An example test page is http://docs.angularjs.org/api/ng/input/input%5Bdate%5D. This is occurring on FireFox, IE 9 and IE10. I do not have IE11 to test this on.
The text was updated successfully, but these errors were encountered:
This is currently expected behavior, because javascript Date() will figure out the correct date: 1999-32-01 becomes 1999-02-01. However, I think there should be a way force valid sisplay dates. In the meantime, you could write your own directive that parses the input before date and filters these strings.
Using the
input type="date"
tag, the date validates as true when any numeric value that follows the date format of yyyy-MM-dd is typed into the input control. Dates of0000-00-00
and9999-99-99
are marked as valid dates. An example test page is http://docs.angularjs.org/api/ng/input/input%5Bdate%5D. This is occurring on FireFox, IE 9 and IE10. I do not have IE11 to test this on.The text was updated successfully, but these errors were encountered: