Fix sign reversal in mktime_tz discovered by Bill van Melle.

This commit is contained in:
Guido van Rossum 1998-02-18 05:06:30 +00:00
parent d7300f8f56
commit 00455b77a6

View file

@ -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.