-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
I cannot use format date options. #427
Comments
The You can achieve similar result by using regex as shown below:
Regex reference: https://www.regextester.com/99555 Reference: |
Oh, I didn't know that. |
Another approach is to create a custom format validator.
That will produce the following error. Note I called both
|
I tried with a pattern-based validation:
and it works.
even though the :
does! The 2020-12 version defines both "date-time" and "date" formats. Does this look like a bug, or is just because the Draft 04 doesn't support those formats? |
I cannot use date format options.
But I can use date-time format options.
Why
JSON::Validator.fully_validate
return empty Array?Please help me.
The text was updated successfully, but these errors were encountered: