From 0b29210bcd9557ab4b837170d17abe972ba95c40 Mon Sep 17 00:00:00 2001 From: Martin Doucha Date: Sun, 6 Dec 2015 18:47:50 +0100 Subject: [PATCH] Fix date parsing on Windows during daylight saving period When daylight saving was in effect, Windows parsed time off by one hour. This patch fixes it. --- src/isds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/isds.c b/src/isds.c index 05c837b..c6c0279 100644 --- a/src/isds.c +++ b/src/isds.c @@ -2300,6 +2300,7 @@ static isds_error timestring2timeval(const xmlChar *string, broken.tm_year -= 1900; broken.tm_mon--; + broken.tm_isdst = -1; offset = (char*)string + i; #else /* Parse date and time without subseconds and offset */ -- 2.11.4.GIT