From 00455b77a66f78679f41e2b33955a439cb66316b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 18 Feb 1998 05:06:30 +0000 Subject: Fix sign reversal in mktime_tz discovered by Bill van Melle. --- Lib/rfc822.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/rfc822.py b/Lib/rfc822.py index 9a99572e..f58543a 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. -- cgit v0.12