aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/time_shift.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/time_shift.c b/ui/time_shift.c
index 74d359f7cf..edd460a5d1 100644
--- a/ui/time_shift.c
+++ b/ui/time_shift.c
@@ -244,6 +244,7 @@ time_string_to_nstime(const gchar *time_text, nstime_t *packettime, nstime_t *ns
tm.tm_hour = h;
tm.tm_min = m;
tm.tm_sec = (int)floorl(f);
+ tm.tm_isdst = -1;
tt = mktime(&tm);
if (tt == -1) {
return "Mktime went wrong. Is the time valid?";