datepicker: does not support years above ~7000 #10772
Description
Actual Behavior:
-
What is the issue? *
A blank calendar is displayed when opening the date picker for years above 7000 or so for IE and Firefox. (trigger value varies). For edge the calendar appears to wrap to the first date. -
What is the expected behavior?
The calendar is opened to the current year from the model and displays the available dates. Chrome behaves as expected.
CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:
http://plnkr.co/edit/BcREnK?p=preview
Details:
Setting the $mdDateLocaleProvider.lastRenderableDate to year 9999 and model value to >9000 or so. The trigger date seems to differ between browsers.
AngularJS Versions: *
AngularJS Version:
1.6.4AngularJS Material Version:
1.1.4 (also master)
Additional Information:
Browser Type: *
FirefoxBrowser Version: *
53OS: *
Windows 7Stack Traces:
Shortcut to create a new CodePen Demo.
Note: *
indicates required information. Without this information, your issue may be auto-closed.
Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.