Index: dist/src/Doc/lib/emailutil.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/lib/emailutil.tex,v retrieving revision 1.8 diff -u -r1.8 emailutil.tex --- dist/src/Doc/lib/emailutil.tex 1 Oct 2002 04:33:16 -0000 1.8 +++ dist/src/Doc/lib/emailutil.tex 3 Jun 2003 18:48:16 -0000 @@ -56,8 +56,7 @@ \code{"Mon, 20 Nov 1995 19:12:08 -0500"}. If it succeeds in parsing the date, \function{parsedate()} returns a 9-tuple that can be passed directly to \function{time.mktime()}; otherwise \code{None} will be -returned. Note that fields 6, 7, and 8 of the result tuple are not -usable. +returned. \end{funcdesc} \begin{funcdesc}{parsedate_tz}{date} Index: dist/src/Lib/email/_parseaddr.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/email/_parseaddr.py,v retrieving revision 1.6 diff -u -r1.6 _parseaddr.py --- dist/src/Lib/email/_parseaddr.py 8 May 2003 03:33:15 -0000 1.6 +++ dist/src/Lib/email/_parseaddr.py 3 Jun 2003 18:48:20 -0000 @@ -131,7 +131,7 @@ """Convert a time string to a time tuple.""" t = parsedate_tz(data) if isinstance(t, TupleType): - return t[:9] + return time.localtime(time.mktime(t[:9])) else: return t