I had an earlier question, which I have deleted in favour of this one. Since I was under the wrong assumption that it had something to do with the dateutil version.
test1 = dateutil.parser.parse("2013-01-24T16:50:42+00:00")
this works fine and I get a datetime.
But
dthandler = lambda obj: obj.isoformat() if isinstance(obj, datetime.datetime) else None
test2 = json.dumps(event.due_date_time, default=dthandler)
print test2
--> "2013-01-24T16:50:42+00:00"
This looks to me like a normal string
test3 = dateutil.parser.parse(test2)
This crashes saying ValueError: unknown string format
So how do I convert json string into 'normal' string?