3 ms·
the tables agree that microseconds are supported by both standards, but for some reason the Venn Diagram only displays 6-digit fractional seconds under ISO8601.
by ledauphin 3y ago
the tables agree that microseconds are supported by both standards, but for some reason the Venn Diagram only displays 6-digit fractional seconds under ISO8601. This led me to do some head-scratching until I referenced the table, which seems a lot more comprehensive.
This is extremely cool and useful overall, but unfortunately the Venn Diagram seems to be slightly misleading.
- ijmacd 3y agoHey thanks for pointing this out. Every time this gets posted to HN someone notices something else. The format you spotted in the Venn diagram was: 2023-09-01T10:12:07.284307 This is indeed only valid under ISO 8601 since RFC 3339 always requires a timezone. So the Venn diagram wasn't wrong, but I agree it was misleading. I've now updated the diagram to add the following format, which is valid under both standards: 2023-09-01T02:12:07.284307Z
- ledauphin 3y agohey, thanks for putting this out there and also for iterating on it! I will start using sending this to folks as a reference now that I know it's being maintained!