json-schema-spec icon indicating copy to clipboard operation
json-schema-spec copied to clipboard

Clarify that the time format shouldn't include leap seconds

Open jdesrosiers opened this issue 1 month ago • 0 comments

Resolves #1637

  • Clarify that date-time SHOULD allow leap seconds. It's a "SHOULD" because implementations are often constrained by what date validation libraries they have available to them.
  • Clarify that time MUST NOT allow leap seconds.

Note: This will require a follow up to the test suite to remove the leap second tests from v1 only. They can stay in the other releases because I think the spec was ambiguous and those tests are optional anyway.

jdesrosiers avatar Nov 12 '25 00:11 jdesrosiers