-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
isDate raise an exception on "2024-08-" #2427
Labels
Comments
With format = "YYYY-MM-DD", I also get the error when input is "2024", but "202" works fine |
PR welcome. |
can confirm error is thrown with the following
these correctly return
edit: error got introduced with #2257 I'll try to take a look and (hopfeully fix :-)) at this tomorrow |
pano9000
added a commit
to pano9000/validator.js
that referenced
this issue
Aug 25, 2024
4 tasks
@profnandaa fix PR is ready, kindly approve and merge :-) |
fixed with ff56dcf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
isDate raise an exception on "2024-"
isDate raise an exception on "2024-08-"
Additional context
Validator.js version: 13.12.0
Node.js version: 20.14.0
OS platform: linux
The text was updated successfully, but these errors were encountered: