[Python-Dev] iso8601 parsing
chris.barker at noaa.gov
Tue Oct 24 17:26:14 EDT 2017
On Mon, Oct 23, 2017 at 5:33 PM, Hasan Diwan <hasan.diwan at gmail.com> wrote:
> If one simply replaces the 'T' with a space and trims it after the '.',
> IIRC, it parses fine.
sure, but really, can anyone argue that it's not a good idea for datetime
ot be able to read the iso format it puts out???
> -- H
> On Oct 23, 2017 15:16, "Mike Miller" <python-dev at mgmiller.net> wrote:
>> Could anyone put this five year-old bug about parsing iso8601 format
>> date-times on the front burner?
>> In the comments there's a lot of hand-wringing about different variations
>> that bogged it down, but right now I only need it to handle the output of
>> >>> dt.isoformat()
>> Perhaps if we could get that minimum first step in, it could be iterated
>> on and made more lenient in the future.
>> Thank you,
>> Python-Dev mailing list
>> Python-Dev at python.org
>> Unsubscribe: https://mail.python.org/mailman/options/python-dev/hasan.diw
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/
Christopher Barker, Ph.D.
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev