diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2017-05-11 18:13:13 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-05-11 18:13:13 -0500 |
commit | 1ebef0d7a38ec0a9635418b75c3aabb564c1577e (patch) | |
tree | 1dfd21c14b7dcc9af23bf3395bc7ef6e7c63ada6 /src/rc/rc-misc.c | |
parent | 6b4050ab9cf9d678a1d6b7af7af7494f8533dbca (diff) |
fix to_time_t to honor dst
Diffstat (limited to 'src/rc/rc-misc.c')
-rw-r--r-- | src/rc/rc-misc.c | 1 |
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; |