Skip to content

More Exhaustive ISO 8601 timezone offset support #1061

@cpillsbury

Description

@cpillsbury

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"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions