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

isDate random ? #423

Closed
josephpage opened this issue Aug 17, 2015 · 4 comments
Closed

isDate random ? #423

josephpage opened this issue Aug 17, 2015 · 4 comments

Comments

@josephpage
Copy link

Got this :

$ node
> var validator = require("validator");
> validator.isDate("2015-08-17T09:34:06.000Z");
false
> validator.isDate("2015-08-17T09:43:06.000Z");
true
> validator.isDate("2015-08-17T09:40:06.000Z");
true
> validator.isDate("2015-08-17T09:30:06.000Z");
false
> validator.isDate("2015-08-17T09:20:06.000Z");
false
> validator.isDate("2015-08-17T09:50:06.000Z");
true

If somebody understands something...

Probably related : sequelize/sequelize#4339

@addaleax
Copy link
Contributor

See #422

@chriso
Copy link
Collaborator

chriso commented Aug 17, 2015

I'll revert #418.

@chriso
Copy link
Collaborator

chriso commented Aug 17, 2015

#418 introduced some regressions. It has been reverted in v4.0.4.

@chriso chriso closed this as completed Aug 17, 2015
@josephpage
Copy link
Author

Thank you @chriso !

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

3 participants