The basics should be possible already with issue31800
https://bugs.python.org/issue31800, that said the issue you reference is
to get a single function to parse it (without having to put the whole
format), which would be neat.
I believe Paul Ganssle is planning on adding it to dateutil as well:
https://github.com/dateutil/dateutil/pull/489/files
On 28 November 2017 at 19:51, Mike Miller
This may have gotten bogged down again. Could we get the output of datetime.isoformat() parsed at a minimum? Perfection is not required.
Looks like there is a patch or two and test cases on the bug.
-Mike
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.
_______________________________________________ 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/mariocj89 %40gmail.com