Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid starting month when min and max are equal and from not current month #198

Open
8 tasks done
avizcaino opened this issue Apr 12, 2021 · 0 comments
Open
8 tasks done

Comments

@avizcaino
Copy link

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

Captura de Pantalla 2021-04-12 a les 16 12 32

<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

  • Chrome/ Opera
  • Firefox
  • Safari 10+
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge 12+
  • IE 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant