@@ -397,22 +397,24 @@ custom format values.
397
397
These attributes apply to string instances.
398
398
399
399
Date and time format names are derived from
400
+ [ RFC 9557, section 4.1] ( https://www.rfc-editor.org/info/rfc9557 ) which extends
400
401
[ RFC 3339, section 5.6] ( https://www.rfc-editor.org/info/rfc3339 ) . The duration
401
402
format is from the ISO 8601 ABNF as given in Appendix A of RFC 3339.
402
403
403
404
- * date-time* : A string instance is valid against this attribute if it is a
404
- valid representation according to the "date-time" ABNF rule (referenced above)
405
+ valid representation according to the "date-time" ABNF rule in RFC 3339,
406
+ optionally with the "time-zone" rule in RFC 9557
405
407
- * date* : A string instance is valid against this attribute if it is a valid
406
- representation according to the "full-date" ABNF rule (referenced above)
408
+ representation according to the "full-date" ABNF rule in RFC 3339
407
409
- * time* : A string instance is valid against this attribute if it is a valid
408
- representation according to the "full-time" ABNF rule (referenced above)
410
+ representation according to the "full-time" ABNF rule in RFC 3339
409
411
- * duration* : A string instance is valid against this attribute if it is a valid
410
- representation according to the "duration" ABNF rule (referenced above)
412
+ representation according to the "duration" ABNF rule in ISO 8601
411
413
412
414
Implementations MAY support additional attributes using the other format names
413
415
defined anywhere in that RFC. Implementations SHOULD NOT define extension
414
- attributes with any name matching an RFC 3339 format unless it validates
415
- according to the rules of that format.[ ^ 5 ]
416
+ attributes with any name matching an RFC 3339, RFC 9557, or ISO 8601 format
417
+ unless it validates according to the rules of that format.[ ^ 5 ]
416
418
417
419
[ ^ 5 ] : There is not currently consensus on the need for supporting all RFC 3339
418
420
formats, so this approach of reserving the namespace will encourage
0 commit comments