I'm reading RFC 3339 in preparation to defend my position and I just read the most incredible sentence. I've copied it below:https://twitter.com/myrrlyn/status/1215034347146727424 …
I absolutely agree that this is the format that should be used to transmit dates and times over the internet. You should not require that complexity to parse a markup language in its most basic form. The edge cases for dealing with gregorian dates are mind boggling
-
-
personally, I wobble between whether the grammar should merely /tokenize/ a stamp (it matches the syntactical layout) or /parse/ it (the described moment exists in the UTC sequence)
-
Either way every datetime library already ships with a production grade iso-8601 parser, by doing this you're forcing them to also handle whatever niche type your library ships to represent this.
- 8 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.