securitytxt.org icon indicating copy to clipboard operation
securitytxt.org copied to clipboard

Please switch to iso standard for datetimes

Open Brimstedt opened this issue 3 years ago • 8 comments

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

Brimstedt avatar Mar 14 '21 20:03 Brimstedt

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

M-i-k-o-t-o avatar Mar 16 '21 16:03 M-i-k-o-t-o

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

nightwatchcyber avatar Mar 16 '21 16:03 nightwatchcyber

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

EdOverflow avatar Apr 07 '21 08:04 EdOverflow

@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.

M-i-k-o-t-o avatar Apr 07 '21 08:04 M-i-k-o-t-o

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

EdOverflow avatar Apr 07 '21 08:04 EdOverflow

I am asking IETF members about this

nightwatchcyber avatar Apr 13 '21 18:04 nightwatchcyber

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

nightwatchcyber avatar Apr 15 '21 01:04 nightwatchcyber

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.

nightwatchcyber avatar Jul 11 '22 13:07 nightwatchcyber