I have read so many questions on parsing ISO8601 in python but most of them use external dependencies. Then i bumped in to this question,
How to parse an ISO 8601-formatted date?
It explains that python doesn't support iso8601 formatting, but the answer is 3 years old.
I need to parse this date without using any external dependencies,
from datetime import datetime
app_login = "1996-12-19T16:39:57+08:00"
parse_app_login = datetime.strptime(x,"%Y-%m-%dT%H:%M:%S%z")
print(parse_app_login)
I get error:
ValueError: time data '1996-12-19T16:39:57+08:00' does not match format '%Y-%m-%dT%H:%M:%S%z'
i want to know why python does not support iso8601 format?