Mercurial > cpython-lru_cache-weakref
diff Lib/tzparse.py @ 1260:b120cdd30fbc legacy-trunk
* 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!]
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 29 Mar 1993 11:30:50 +0000 |
| parents | 245003c006a6 |
| children | acdc0b9a6c78 |
line wrap: on
line diff
--- a/Lib/tzparse.py Mon Mar 29 10:50:29 1993 +0000 +++ b/Lib/tzparse.py Mon Mar 29 11:30:50 1993 +0000 @@ -40,7 +40,7 @@ tzstr = os.environ['TZ'] tzparams = tzparse(tzstr) timezone = tzparams[1] * 3600 - altzone = timezone + 3600 + altzone = timezone - 3600 daylight = 1 tzname = tzparams[0], tzparams[2]
