aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-05-11 18:13:13 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-05-11 18:13:13 -0500
commit1ebef0d7a38ec0a9635418b75c3aabb564c1577e (patch)
tree1dfd21c14b7dcc9af23bf3395bc7ef6e7c63ada6 /src
parent6b4050ab9cf9d678a1d6b7af7af7494f8533dbca (diff)
fix to_time_t to honor dst
Diffstat (limited to 'src')
-rw-r--r--src/rc/rc-misc.c1
1 files changed, 1 insertions, 0 deletions
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;