Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5512f32

Browse files
committed
Merged revisions 87463 via svnmerge from
svn+ssh://[email protected]/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. ........
1 parent 9e335fb commit 5512f32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/includes/tzinfo-examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def tzname(self, dt):
7171
def _isdst(self, dt):
7272
tt = (dt.year, dt.month, dt.day,
7373
dt.hour, dt.minute, dt.second,
74-
dt.weekday(), 0, -1)
74+
dt.weekday(), 0, 0)
7575
stamp = _time.mktime(tt)
7676
tt = _time.localtime(stamp)
7777
return tt.tm_isdst > 0

0 commit comments

Comments
 (0)