summaryrefslogtreecommitdiffstats
path: root/Lib/tzparse.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-03-29 11:30:50 (GMT)
committerGuido van Rossum <guido@python.org>1993-03-29 11:30:50 (GMT)
commite7113b6b3dd99b4d05fc81c18e1c2a94fa8e1ebb (patch)
treed779bf09fa3a7df8bd5876f398f353348f13f9de /Lib/tzparse.py
parent04321d1e472ac2ffd06776f117a5ec14e76b7bb7 (diff)
downloadcpython-e7113b6b3dd99b4d05fc81c18e1c2a94fa8e1ebb.zip
cpython-e7113b6b3dd99b4d05fc81c18e1c2a94fa8e1ebb.tar.gz
cpython-e7113b6b3dd99b4d05fc81c18e1c2a94fa8e1ebb.tar.bz2
* Fix bug in tzparse.py for DST timezone
* Added whatis command to pdb.py * new module GET.py (GL definitions from <gl/get.h>) * rect.py: is_empty takes a rect as argument, not two points. * Added tests for builtin round() [XXX not yet complete!]
Diffstat (limited to 'Lib/tzparse.py')
-rw-r--r--Lib/tzparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tzparse.py b/Lib/tzparse.py
index 67c94de..6cb0899 100644
--- a/Lib/tzparse.py
+++ b/Lib/tzparse.py
@@ -40,7 +40,7 @@ def tzset():
tzstr = os.environ['TZ']
tzparams = tzparse(tzstr)
timezone = tzparams[1] * 3600
- altzone = timezone + 3600
+ altzone = timezone - 3600
daylight = 1
tzname = tzparams[0], tzparams[2]