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

Skip to content

Commit b2eacd9

Browse files
committed
Issue #9063: Corrected the tzinfo example.
1 parent bc78e37 commit b2eacd9

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)