From: Guido van Rossum Date: Wed, 18 Feb 1998 05:06:30 +0000 (+0000) Subject: Fix sign reversal in mktime_tz discovered by Bill van Melle. X-Git-Tag: v1.5.1~705 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00455b77a66f78679f41e2b33955a439cb66316b;p=python Fix sign reversal in mktime_tz discovered by Bill van Melle. --- diff --git a/Lib/rfc822.py b/Lib/rfc822.py index 9a99572e68..f58543a9f5 100644 --- a/Lib/rfc822.py +++ b/Lib/rfc822.py @@ -696,7 +696,7 @@ def mktime_tz(data): """ t = time.mktime(data[:8] + (0,)) - return t + data[9] - time.timezone + return t - data[9] - time.timezone # When used as script, run a small test program.