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

@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.

Activity

added
browser: IEThis issue is specific to Internet Explorer
P4: minorMinor issues. May not be fixed without community contributions.
on Dec 15, 2018
self-assigned this
on Dec 15, 2018
changed the title [-]md-datepicker does not support years above ~7000 for IE and Firefox[/-] [+]datepicker: does not support years above ~7000 for IE and Firefox[/+] on Dec 15, 2018
Splaktar

Splaktar commented on Dec 15, 2018

@Splaktar
Contributor

I can reproduce this on IE11 and Edge. Firefox just shows a blank calendar for me. Chrome works fine.

I tried with 1.1.10 and had the same behavior. This testing was on Windows 10.

added
P3: importantImportant issues that really should be fixed when possible.
and removed
P4: minorMinor issues. May not be fixed without community contributions.
on Dec 15, 2018
added this to the 1.1.12 milestone on Dec 15, 2018
changed the title [-]datepicker: does not support years above ~7000 for IE and Firefox[/-] [+]datepicker: does not support years above ~7000[/+] on Dec 15, 2018
added
needs: investigationThe cause of this issue is not well understood and needs to be investigated by the team or community
on Dec 15, 2018
modified the milestones: 1.1.12, 1.1.13 on Jan 3, 2019

5 remaining items

modified the milestones: 1.1.16, 1.1.19 on Mar 29, 2019
modified the milestones: 1.1.19, 1.1.21 on May 30, 2019
modified the milestones: 1.1.21, 1.1.22 on Aug 15, 2019
modified the milestones: 1.1.22, 1.1.23 on Oct 22, 2019
modified the milestones: 1.1.23, 1.2.1 on May 6, 2020
modified the milestones: 1.2.1, 1.2.2 on Sep 14, 2020
modified the milestones: 1.2.2, - Backlog on Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      Participants

      @Splaktar@smhc

      Issue actions

        datepicker: does not support years above ~7000 · Issue #10772 · angular/material