chrono
chrono copied to clipboard
Add support for ISO dates missing punctuation in date and/or time
We got a report of date here not being parsed:
20170821T1415+0300Z
I've noticed that ISO dates that are definitely valid but lack punctuation are not recognised either, i.e: 20171207T124731Z
According to the ISO standard punctuation can be omitted from the date and/or the time. (And no, Date.parse() doesn't seem to recognise it either!)
I was wondering if this is something that could be added to chrono. I do know about custom parsers if that is not the case :).