mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
tentative fix for #712322: modification time stamp checking failed
when DST began.
This commit is contained in:
parent
f2f174f655
commit
547eb42d75
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue