summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/zipimport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
index 94eeabd..9f7da72 100644
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -993,7 +993,7 @@ parse_dostime(int dostime, int dosdate)
stm.tm_mday = dosdate & 0x1f;
stm.tm_mon = ((dosdate >> 5) & 0x0f) - 1;
stm.tm_year = ((dosdate >> 9) & 0x7f) + 80;
- stm.tm_isdst = 0; /* wday/yday is ignored */
+ stm.tm_isdst = -1; /* wday/yday is ignored */
return mktime(&stm);
}