3 ms·
Full ISO 8601 is complicated. Try to restrict yourself to RFC 3339 http://tools.ietf.org/html/rfc3339 http://tools.ietf.org/html/rfc3339 a profile of ISO8601 i
by d0mine 14y ago
Full ISO 8601 is complicated. Try to restrict yourself to
RFC 3339 http://tools.ietf.org/html/rfc3339 http://tools.ietf.org/html/rfc3339 a profile of ISO8601 if possible.
- Keithamus 14y agoThis is a great recommendation but if you're trying to be interoperable with other languages it's just not possible. If you're in control of the output format though, I would fully agree.
- obtu 14y agoThe original article is about generating date strings, and I would give it more credence if it mentioned the RFC 3339 profile. (edit: I just noticed you're probably the author; please excuse my abrupt tone)
- Keithamus 14y agoIt's true, I should have mentioned RFC3339 in the article. I will make some amendments to it later today.