3 ms·
And you really do need the standard. I implemented the entirety of ISO 8601 years ago (not just the most common 5% that most people are aware of) -- parsing, r
by neilv 6y ago
And you really do need the standard.
I implemented the entirety of ISO 8601 years ago (not just the most common 5% that most people are aware of) -- parsing, representation, writing, validation, and arithmetic -- and there's no way I could've guessed some of the stranger cases the standard explicitly supports, and how, without being told what they are.
I hope I never see some of the truncated and reduced precision forms in practice, since perhaps no one but the handful of people with access to the standard will be able to interpret those correctly. :)
- kuschku 6y agoI actually had an issue like that recently, where our code didn't handle a special case in ISO8601 correctly. I managed to obtain ;) the standard and could adapt it, but if I hadn't obtained the standard, I'd have had to just close the issue with "WONTFIX".