summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/libxt_time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/libxt_time.c b/extensions/libxt_time.c
index 5462d930..b2e6ffa6 100644
--- a/extensions/libxt_time.c
+++ b/extensions/libxt_time.c
@@ -139,6 +139,7 @@ static time_t time_parse_date(const char *s, bool end)
tm.tm_hour = hour;
tm.tm_min = minute;
tm.tm_sec = second;
+ tm.tm_isdst = 0;
ret = mktime(&tm);
if (ret >= 0)
return ret;