I can't figure out why this date string throws an error when I try to convert it into a datetime object.
My date string is in the standard ISO-8601 format: u'2013-11-05T20:24:51+0000'
Apparent format based on Python's strptime documentation: '%Y-%m-%dT%H:%M:%S%Z'
But for some reason, when I run:
test = datetime.strptime('2013-11-05T20:24:51+0000', '%Y-%m-%dT%H:%M:%S%Z')
I get
ValueError: time data '2013-11-05T20:24:51+0000' does not match format '%Y-%m-%dT%H:%M:%S%Z'`