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.
Current behavior:
If you select the year 0001 in a input[date] field, the model values updates to the value 1901. https://codepen.io/anon/pen/KRzwXX
Expected / new behavior:
The model value should be set to the correct year 0001.
Minimal reproduction of the problem with instructions:
See codepen testcase https://codepen.io/anon/pen/KRzwXX
Insert the date '0001-01-01' and you can see the wrong model value.
AngularJS version: 1.6.9 / 1.7.0-rc.0
Browser: [all]
Also happens if the browser doesn't support input[date] fields. If the text '0001-01-01' is inserted, the model values is set to '1901-01-01'