Message216158
The documentation for time.struct_time (in Doc/library/time.rst) explains tm_isdst as "0, 1 or -1; see below" but then doesn't really go into further detail below, other than to say "A -1 argument as the daylight savings flag, passed to mktime() will usually result in the correct daylight savings state to be filled in.".
In Modules/timemodule.c there's a section which says:
{"tm_isdst", "1 if summer time is in effect, 0 if not, and -1 if unknown"},
IMHO it would be nice if this more accurate info was also present in the HTML documentation. |
|
Date |
User |
Action |
Args |
2014-04-14 18:29:20 | lurchman | set | recipients:
+ lurchman, docs@python |
2014-04-14 18:29:20 | lurchman | set | messageid: <1397500160.88.0.743491348049.issue21221@psf.upfronthosting.co.za> |
2014-04-14 18:29:20 | lurchman | link | issue21221 messages |
2014-04-14 18:29:20 | lurchman | create | |
|