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
Description
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
- Just load the page of the datepicker demos
- 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