commit: 1ebef0d7a38ec0a9635418b75c3aabb564c1577e
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu May 11 23:13:13 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu May 11 23:13:13 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1ebef0d7
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;