From 547eb42d75c888fa5ac43275d3cf874099ea0d78 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Tue, 8 Apr 2003 20:07:15 +0000 Subject: tentative fix for #712322: modification time stamp checking failed when DST began. --- Modules/zipimport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v0.12