From: Alexander Belopolsky Date: Fri, 24 Dec 2010 00:29:04 +0000 (+0000) Subject: Merged revisions 87463 via svnmerge from X-Git-Tag: v3.2.1b1~347^2~136 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5512f32d91fd20a649d1864dbaf25ab9eeac8238;p=thirdparty%2FPython%2Fcpython.git Merged revisions 87463 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87463 | alexander.belopolsky | 2010-12-23 19:24:11 -0500 (Thu, 23 Dec 2010) | 1 line Issue #9063: Corrected the tzinfo example. ........ --- diff --git a/Doc/includes/tzinfo-examples.py b/Doc/includes/tzinfo-examples.py index 2de95d4ecb4f..5132429fb447 100644 --- a/Doc/includes/tzinfo-examples.py +++ b/Doc/includes/tzinfo-examples.py @@ -71,7 +71,7 @@ class LocalTimezone(tzinfo): def _isdst(self, dt): tt = (dt.year, dt.month, dt.day, dt.hour, dt.minute, dt.second, - dt.weekday(), 0, -1) + dt.weekday(), 0, 0) stamp = _time.mktime(tt) tt = _time.localtime(stamp) return tt.tm_isdst > 0