-
-
Notifications
You must be signed in to change notification settings - Fork 877
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
More Exhaustive ISO 8601 timezone offset support #1061
Labels
Comments
cjpillsbury
pushed a commit
to cjpillsbury/ajv
that referenced
this issue
Aug 15, 2019
…ns to support two digit and colon-less variants of timezone offset. Add tests. Update test eslint to include global after function.
cjpillsbury
pushed a commit
to cjpillsbury/ajv
that referenced
this issue
Sep 10, 2019
…ns to support two digit and colon-less variants of timezone offset. Add tests. Update test eslint to include global after function.
1 task
This was referenced Feb 24, 2020
This was referenced Mar 15, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Ajv you are you using?
6.10.2
What problem do you want to solve?
More exhaustive support of ISO8601 timezone/time offset representations for "time" and "date-time" JSON Schema format validators.
What do you think is the correct solution to problem?
Update the regular expressions used for "time" and "date-time" in both "full" and "fast" format modes.
Will you be able to implement it?
Yes
Examples of unsupported but ISO8601 compliant "time" and "date-time" formats:
Times:
"02:31:17+0130"
"02:31:17-05"
Date Times:
"2016-01-31T02:31:17+0130"
"2016-01-31T02:31:17-01"
The text was updated successfully, but these errors were encountered: