-
-
Notifications
You must be signed in to change notification settings - Fork 350
incorporate RFC 9557 time zone extension into 'date-time' format #1609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
b0a1cdb
8bdeaa6
3dca1c9
55097db
d6aba7b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -397,22 +397,24 @@ custom format values. | |||||||||||
These attributes apply to string instances. | ||||||||||||
|
||||||||||||
Date and time format names are derived from | ||||||||||||
[RFC 9557, section 4.1](https://www.rfc-editor.org/info/rfc9557) which extends | ||||||||||||
[RFC 3339, section 5.6](https://www.rfc-editor.org/info/rfc3339). The duration | ||||||||||||
format is from the ISO 8601 ABNF as given in Appendix A of RFC 3339. | ||||||||||||
|
||||||||||||
- *date-time*: A string instance is valid against this attribute if it is a | ||||||||||||
valid representation according to the "date-time" ABNF rule (referenced above) | ||||||||||||
valid representation according to the "date-time" ABNF rule in RFC 3339, | ||||||||||||
optionally with the "time-zone" rule in RFC 9557 | ||||||||||||
|
valid representation according to the "date-time" ABNF rule in RFC 3339, | |
optionally with the "time-zone" rule in RFC 9557 | |
valid representation of the "date-time" ABNF rule in RFC 3339 or such a | |
string that is immediately followed by a valid representation of the | |
"time-zone" rule in RFC 9557 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yes, I see. I had stopped in that block in 9557 at time-zone
and didn't continue on to see suffix
. That should certainly be included.
I think what we're looking for here is date-time-ext
, except that suffix
is optional. I'll update this.
Uh oh!
There was an error while loading. Please reload this page.