My timestanp string is as follows
mytime = 2021-10-25T14:17:13+0000
As you can see the timezone is shown as 0000
instead of 00:00
.
This seems to cause an error when I do
newtime = datetime.fromisoformat(mytime)
Invalid isoformat string: '2021-10-25T14:17:13+0000'
How should I proceed to convert this string into a datetime object?