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

Leap year validation #27

Open
chr1soscl opened this issue Aug 8, 2019 · 0 comments
Open

Leap year validation #27

chr1soscl opened this issue Aug 8, 2019 · 0 comments

Comments

@chr1soscl
Copy link

IMPORTANT:
Please be specific with an example. An issue with

Steps to reproduce and a minimal demo

Inject a date validator to a date formcontrol and manually enter leap dates, like:
02/29/2018 Invalid date
02/29/2019 Invalid date
02/29/2020 valid date
02/31/2096 invalid date

Current behavior

there is no leap year validation for date.

Expected/desired behavior

  • error should trigger for invalid leap years, testing examples above.

Environment information

  • OS: Windows 10
  • Angular Version: 8
  • Browser: Chrome, IE11
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

No branches or pull requests

1 participant