Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc78e37 commit b2eacd9Copy full SHA for b2eacd9
1 file changed
Doc/includes/tzinfo-examples.py
@@ -71,7 +71,7 @@ def tzname(self, dt):
71
def _isdst(self, dt):
72
tt = (dt.year, dt.month, dt.day,
73
dt.hour, dt.minute, dt.second,
74
- dt.weekday(), 0, -1)
+ dt.weekday(), 0, 0)
75
stamp = _time.mktime(tt)
76
tt = _time.localtime(stamp)
77
return tt.tm_isdst > 0
0 commit comments