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

Regex for 'D' date validation is incorrect. #381

Closed
rbackert opened this issue Feb 12, 2021 · 1 comment
Closed

Regex for 'D' date validation is incorrect. #381

rbackert opened this issue Feb 12, 2021 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@rbackert
Copy link

Describe the bug
The regular expression for date format 'D' for the date validation rule incorrectly marks days equal to 10 or 20 as invalid.

To Reproduce

  1. Go to below codepen.
  2. The 10 or 20 in the date field.
  3. Click submit.

CodePen:

https://codepen.io/racabac/pen/wvogavM

@rbackert rbackert added the bug report A submitted bug report, not yet validated. label Feb 12, 2021
@justin-schroeder justin-schroeder added bug Something isn't working and removed bug report A submitted bug report, not yet validated. labels Mar 1, 2021
@justin-schroeder justin-schroeder added this to the 2.5.1 milestone Mar 1, 2021
@justin-schroeder
Copy link
Member

Thanks for the bug report, this is fixed in the release/2.5.1 branch 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants