3 ms·
RFC 3339 also allows the offset -00:00 where the UTC time is known but the local time is not. The ISO standard does not permit this.
by joshuaissac 6y ago
RFC 3339 also allows the offset -00:00 where the UTC time is known but the local time is not. The ISO standard does not permit this.
- seagreen 6y agoOoh, interesting. I made a GitHub repo for the new spec and credited you (https://github.com/seagreen/rfc-3339T https://github.com/seagreen/rfc-3339T). Let me know if you have more suggestions!
- fanf2 6y ago-00:00 is permitted by ISO 8601 but it implies that the local time is the same as UTC, it does not imply that the local time is unknown.
- seagreen 6y agoIs Wikipedia wrong? It claims (https://en.wikipedia.org/wiki/ISO_8601 https://en.wikipedia.org/wiki/ISO_8601): An offset of zero, in addition to having the special representation "Z", can also be stated numerically as "+00:00", "+0000", or "+00". However, it is not permitted to state it numerically with a negative sign, as "−00:00", "−0000", or "−00"." Sure would be nice if we could read the spec online:)