this post was submitted on 14 Sep 2023
7 points (100.0% liked)

ISO8601

126 readers
1 users here now

Community dedicated to the international standard YYYY-MM-DD date format.

founded 1 year ago
MODERATORS
 

Basically title. 2019 edition of the Standard denotes the "T" prefix to time as mandatory (except in "unambiguous contexts"):

01:29:59 is now actually T01:29:59, with the former form now designated as an alternative

But date does not have a "D" prefix, not even in "ambiguous contexts".

1973-09-11 never needs to be something like eg.: D1973-09-11

Anyone know the reasoning behind this change and what is the intended use? The only time-only format with separators that I can think would be undecidable in ambiguous contexts would be hh:mm which I guess could be mistaken for bible verses?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 year ago (1 children)

I think you're probably right. If the format was

DATETTIMEZTIMEZONE

And you omit DATE you still have TTIME

[โ€“] [email protected] 1 points 1 year ago

Hmmm those are good points. I feel this gels well with how in the syntax for durations / periods all unit delimiters are mandatory (also because they're tail) when the unit is present and the header / marker is P.