def iso8601_to_timestamp(iso8601_time):
    iso8601_time = _SUBSECOND_RE.sub('', iso8601_time)
    try:
        return calendar.timegm(time.strptime(iso8601_time, boto.utils.ISO8601))
    except __HOLE__:
        return calendar.timegm(time.strptime(iso8601_time, _RFC1123))
dataset/ETHPy150Open Yelp/mrjob/mrjob/parse.py/iso8601_to_timestamp