From 1ebef0d7a38ec0a9635418b75c3aabb564c1577e Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 11 May 2017 18:13:13 -0500 Subject: fix to_time_t to honor dst --- src/rc/rc-misc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c index 1a98537c..a6cc788e 100644 --- a/src/rc/rc-misc.c +++ b/src/rc/rc-misc.c @@ -469,6 +469,7 @@ time_t to_time_t(char *timestring) breakdown.tm_hour = hour; breakdown.tm_min = min; breakdown.tm_sec = sec; + breakdown.tm_isdst = -1; result = mktime(&breakdown); } return result; -- cgit v1.2.3