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.

calendar: demo broken, showing 1880 dates, while model is correct #11919

Closed
@Splaktar

Description

@Splaktar

Bug

Demo and steps to reproduce the issue

This blank StackBlitz demo can be used to create a reproduction that demonstrates your issue.

Demo URL (required)*: https://material.angularjs.org/HEAD/demo/datepicker

Detailed Reproduction Steps

  1. Just load the page of the datepicker demos
  2. Look at the calendar

Explain the expected behavior

It should show the start date as today and the end date as 5 days from today. The model values are correct.

Explain the current behavior

The start date appears to be Jan 1880 and the end date appears to be sometime in May 1880. The model values appear to be correct. But the calendar hasn't scrolled to the right month/year.

Discuss the use-case or motivation for changing the existing behavior

Basic functionality.

List the affected versions of AngularJS, Material, OS, and browsers

  • AngularJS: 1.1.23-master
  • AngularJS Material: 1.7.9
  • OS: macOS Catalina
  • Browsers: Chrome 83

Add anything else we should know

Screenshots

Screen Shot 2020-05-27 at 03 38 28

Metadata

Metadata

Assignees

Labels

P1: urgentUrgent issues that should be addressed in the next minor or patch release.has: Pull RequestA PR has been created to address this issueseverity: regressionThis issue is related to a regressiontype: bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions