datetime.datetime.strptime(time_str, '%Y-%m-%dT%H:%M:%S%z')
"""""".join(time_str.rsplit(':', 1))
datetime.datetime.strptime(''.join(time_str.rsplit(':', 1)),
    '%Y-%m-%dT%H:%M:%S%z')
Convert timestamps with offset to datetime obj using strptime