Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

datepicker: does not support years above ~7000 #10772

Open
@smhc

Description

@smhc

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.4
  • AngularJS Material Version: 1.1.4 (also master)

Additional Information:

  • Browser Type: * Firefox
  • Browser Version: * 53
  • OS: * Windows 7
  • Stack 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.

Metadata

Metadata

Assignees

Labels

P3: importantImportant issues that really should be fixed when possible.browser: FireFoxbrowser: IEThis issue is specific to Internet Explorerbrowser: MS Edgeneeds: investigationThe cause of this issue is not well understood and needs to be investigated by the team or communitytype: bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions