Closed jvtm closed 1 year ago
Python 3.11 datetime module allows additional ISO8601 date, time and date-time formats that are not RFC3339 5.6 compliant.
datetime
This change adds tests for invalid date values that are at the moment allowed by at least Python jsonschema library as valid date sttrings.
date
jsonschema
Looks like date-time and time test cases already cover at least some values that are valid by ISO8601 but not by RFC3339 section 5.6.
date-time
time
See:
PR sent to jsonschema library python-jsonschema/jsonschema#1076.
Need to fix few of these:
Description is too long (keep it to less than 70 chars).
Done, shortened the longest descriptions.
Python 3.11
datetime
module allows additional ISO8601 date, time and date-time formats that are not RFC3339 5.6 compliant.This change adds tests for invalid
date
values that are at the moment allowed by at least Pythonjsonschema
library as validdate
sttrings.Looks like
date-time
andtime
test cases already cover at least some values that are valid by ISO8601 but not by RFC3339 section 5.6.See:
PR sent to
jsonschema
library python-jsonschema/jsonschema#1076.