We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Suggest adding Date / Time validation rules, with a way to specify the format of the date, perhaps copy the https://golang.org/pkg/time/#Time.Format layout.
The text was updated successfully, but these errors were encountered:
Are you looking for a string validator? Will regex rule work for you?
Sorry, something went wrong.
Or are you looking for a rule that validates the range of a date?
I suppose a regex can work.. something along these lines http://www.pelagodesign.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/ .. lots of other versions of a date regex about as well.
But, actually, as I think more - a real date parser should be used, as it's not really possible to determine that 2016-02-31 is not a valid date.
821a3e5
No branches or pull requests
Suggest adding Date / Time validation rules, with a way to specify the format of the date, perhaps copy the https://golang.org/pkg/time/#Time.Format layout.
The text was updated successfully, but these errors were encountered: