app-datepicker
app-datepicker copied to clipboard
Invalid starting month when min and max are equal and from not current month
Description
When min and max dates are the same, and not in the current month, the calendar is blank, showing no days for the current month.
Expected outcome
It should navigate to the corresponding month for min and max date.
Actual outcome
Calendar is blank showing no days.
Live Demo
<app-datepicker
min="Sat May 05 2021 00:00:00 GMT+0200 (Hora d’estiu del Centre d’Europa)"
max="Sat May 05 2021 00:00:00 GMT+0200 (Hora d’estiu del Centre d’Europa)"
firstDayOfWeek="1"
locale="ca-ES"
></app-datepicker>
Steps to reproduce
Browsers Affected
- [x] Chrome/ Opera
- [x] Firefox
- [x] Safari 10+
- [x] Safari 9
- [x] Safari 8
- [x] Safari 7
- [x] Edge 12+
- [x] IE 11