def mktime_tz(data):
    """Turn a 10-tuple as returned by parsedate_tz() into a UTC timestamp."""
    if data[9] is None:
        # No zone info, so localtime is better assumption than GMT
        return time.mktime(data[:8] + (-1,))
    else:
        t = time.mktime(data[:8] + (0,))
        return t - data[9] - time.timezone
def mktime_tz(data):
    """Turn a 10-tuple as returned by parsedate_tz() into a UTC timestamp."""
    if data[9] is None:
        # No zone info, so localtime is better assumption than GMT
        return time.mktime(data[:8] + (-1,))
    else:
        t = time.mktime(data[:8] + (0,))
        return t - data[9] - time.timezone
def mktime_tz ( data ) : if data [ 9 ] is None : # No zone info, so localtime is better assumption than GMT return time . mktime ( data [ : 8 ] + ( - 1 , ) ) else : t = time . mktime ( data [ : 8 ] + ( 0 , ) ) return t - data [ 9 ] - time . timezone
Turn a 10-tuple as returned by parsedate_tz() into a UTC timestamp.
Turn a 10 - tuple as returned by parsedate_tz () into a UTC timestamp .