def parsedate(data):
 t = parsedate_tz(data)
 if (t is None):
  return t
 return t[:9]

def parsedate ( data ) : t = parsedate_tz ( data ) if ( t is None ) : return t return t [ : 9 ]
convert a time string to a time tuple .