Skip to content
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

Please switch to iso standard for datetimes #72

Open
Brimstedt opened this issue Mar 14, 2021 · 8 comments
Open

Please switch to iso standard for datetimes #72

Brimstedt opened this issue Mar 14, 2021 · 8 comments

Comments

@Brimstedt
Copy link

Date time fields would be better if using international standards as ISO 8601 rather than RFC 5322 which includes language specific strings.

@M-i-k-o-t-o
Copy link

Do you have a link to said "ISO 8601" standard?

@nightwatchcyber
Copy link
Contributor

nightwatchcyber commented Mar 16, 2021

IETF standards generally use the format defined in section 3.3. of RFC 5322 (same as email):
https://tools.ietf.org/html/rfc5322#section-3.3

@EdOverflow
Copy link
Member

Do you have a link to said "ISO 8601" standard?

https://www.iso.org/obp/ui/#iso:std:iso:8601:-1:ed-1:v1:en

@M-i-k-o-t-o
Copy link

@EdOverflow

Only informative sections of standards are publicly available. To view the full content, you will need to purchase the standard by clicking on the "Buy" button.

@EdOverflow
Copy link
Member

Only informative sections of standards are publicly available. To view the full content, you will need to purchase the standard by clicking on the "Buy" button.

Yes, you have to purchase ISO standards, @M-i-k-o-t-o.

image

@nightwatchcyber
Copy link
Contributor

I am asking IETF members about this

@nightwatchcyber
Copy link
Contributor

IETF consensus seems to point to RFC 3339, I updated the GitHub version of the draft to reflect that.

@nightwatchcyber
Copy link
Contributor

See:
https://www.rfc-editor.org/rfc/rfc9116.html#name-expires

The "Expires" field indicates the date and time after which the data contained in the "security.txt" file is considered stale and should not be used (as per Section 5.3). The value of this field is formatted according to the Internet profiles of [ISO.8601-1] and [ISO.8601-2] as defined in [RFC3339]. It is RECOMMENDED that the value of this field be less than a year into the future to avoid staleness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants