Skip to content

BUG(DATEPICKER): Invalid values #20418

Open
@ZbiFi

Description

@ZbiFi

Reproduction

Steps to reproduce:

  1. Using mat-datepicker open and select yearly range.
    image

  2. Use navigation to go back in time around year 100-120.
    image

FIRST BUG -> before year 100 there is 1999.

  1. Use navigation buttons to go back in time even further to around year 1900.

image

image

SECOND BUG -> before year 1900 there is year 2 (no year 1 :( ).

THIRD BUG -> moving back in time increases date.

  1. Use navigation to go back (left arrow - now moving up?!) in time even further to around year 271801.

FOURTH BUG/ISSUE -> year 271801 (BC I assume) is limit of calendar range however:

image

FIFTH BUG/ISSUE -> if you change yearly view to monthly and set up JAN of 271801 and go back to DEC prev year (in this case 271802) and switch back to yearly view screen is totally blank and navigation button (left and right) stops working.

  • Angular:
  • CDK/Material: 10.0.1
  • Browser(s): CHROME 81.0.4044.138 64bit
  • Operating System (e.g. Windows10):

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/datepicker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions