npm ajv-formats 3.0.0-rc.0
v3.0.0-rc.0

latest releases: 3.0.1, 3.0.0
2 years ago

Formats time and date-time now require timezone, as per JSON Schema specification / RFC3339.
Added formats iso-time and iso-date-time that have optional timezone, they can be used for backwards compatibility.
Keywords formatMaximum and formatMinimum for time and date-time format now take into account timezone (both for time and for date), the previous comparison logic that ignored timezone is preserved for iso-time and iso-date-time formats.

Don't miss a new ajv-formats release

NewReleases is sending notifications on new releases.