I just checked the Python 3 documentation and it isn’t intended to parse arbitrary ISO8601 format strings:
Caution: This does not support parsing arbitrary ISO 8601 strings – it is only intended as the inverse operation of
datetime.isoformat()
.
I just checked the Python 3 documentation and it isn’t intended to parse arbitrary ISO8601 format strings:
Caution: This does not support parsing arbitrary ISO 8601 strings – it is only intended as the inverse operation of
datetime.isoformat()
.