IJMacD / rfc3339-iso8601

https://ijmacd.github.io/rfc3339-iso8601
291 stars 11 forks source link

Are millenniums allowed? #5

Closed OtterSou closed 2 years ago

OtterSou commented 2 years ago

On my copy of ISO 8601-1:2019, I don't see any mention of milleniums. Your table (specifically 2) says it's allowed, but I don't think so.

IJMacD commented 2 years ago

Yes thank you for raising this issue.

I looked into it and I think I made an assumption based on § 5.2.2.2 Representations with reduced precision. Earlier drafts gave examples reducing precision down to centuries but gave no indication whether decades or millennia were supported.

I think I'll need to update the diagram and table.

Thanks.

Crissov commented 5 months ago

Just for the record, EDTF Level 2 in ISO 8601-2 supports stuff like 2XXX (unspecified digits) and Y2E3S1 (exponential year with significant digits) to represent any year in a particular millennium.