[issue46029] "ValueError: Invalid isoformat string" from a valid string

2021-12-10 Thread Eric V. Smith
Eric V. Smith added the comment: fromisoformat() is only designed to parse the output of isformat(). See issue 35829 for further discussion. I'm going to close this issue as a duplicate. -- nosy: +eric.smith resolution: -> duplicate stage: -> resolved status: open -> closed

[issue46029] "ValueError: Invalid isoformat string" from a valid string

2021-12-09 Thread oittaa
New submission from oittaa : Test case: >>> import datetime >>> datetime.datetime.fromisoformat('2021-12-10T01:00:00Z') Traceback (most recent call last): File "", line 1, in ValueError: Invalid isoformat string: '2021-12-10T01:00:00Z' Basically every other programming language I tested