
On Mon, Oct 23, 2017 at 5:33 PM, Hasan Diwan hasan.diwan@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???
-CHB
-- H
On Oct 23, 2017 15:16, "Mike Miller" python-dev@mgmiller.net wrote:
Hi,
Could anyone put this five year-old bug about parsing iso8601 format date-times on the front burner?
http://bugs.python.org/issue15873
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 datetime.isoformat():
>>> dt.isoformat() '2017-10-20T08:20:08.986166+00:00'
Perhaps if we could get that minimum first step in, it could be iterated on and made more lenient in the future.
Thank you, -Mike _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/hasan.diw an%40gmail.com
Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/ chris.barker%40noaa.gov