[issue42371] datetime.fromisoformat(): Missing colon in timezone suffix raises ValueError

2020-11-16 Thread Bengt Lüers
Change by Bengt Lüers : -- title: Missing colon in timezone suffix raises ValueError -> datetime.fromisoformat(): Missing colon in timezone suffix raises ValueError ___ Python tracker <https://bugs.python.org/issu

[issue42371] datetime.fromisoformat(): Omitted colon in timezone suffix raises ValueError

2020-11-16 Thread Bengt Lüers
Change by Bengt Lüers : -- title: datetime.fromisoformat(): Missing colon in timezone suffix raises ValueError -> datetime.fromisoformat(): Omitted colon in timezone suffix raises ValueError ___ Python tracker <https://bugs.python.org/issu

[issue42371] Missing colon in timezone suffix raises ValueError

2020-11-16 Thread Bengt Lüers
New submission from Bengt Lüers : I am trying to parse ISO8601-formatted datetime strings with timezones. This works fine when there is a colon separating the hour and minute digits: >>> import datetime >>> datetime.datetime.fromisoformat('2020-11-16T11:00:00+00:00') >>