-
-
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
The isDate function throws an error when passed a string parameter. #2452
Comments
most likely this is the same issue as #2427, which got fixed with #2443 - unfortunately the fix has not been packaged into a new version yet... |
|
@pano9000 Can we get a release for this or should i npm install the specific commit? |
@profnandaa lets schedule a release |
When using the isDate function to check if an unknown string is in date format, it directly throws an error, as shown in the screenshot. The input I passed was “abcd”. Is using the string’s length for validation not rigorous enough? The Validator.js version is 13.12.0.
The text was updated successfully, but these errors were encountered: