(parse_time): Fix for arguments describing a time when DST is in
effect.
This commit is contained in:
parent
812eab5427
commit
e7e8717e86
1 changed files with 1 additions and 0 deletions
|
@ -208,6 +208,7 @@ parse_time(time_t *t, char *s, time_t *anchor)
|
||||||
tm = nexttm;
|
tm = nexttm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tm.tm_isdst = -1;
|
||||||
*t = mktime(&tm);
|
*t = mktime(&tm);
|
||||||
return endp;
|
return endp;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue