aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--butl/timestamp.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/butl/timestamp.cxx b/butl/timestamp.cxx
index 41dc5ba..2759592 100644
--- a/butl/timestamp.cxx
+++ b/butl/timestamp.cxx
@@ -401,6 +401,7 @@ namespace butl
else if (*p != '\0')
bad_val (); // Input is not fully read.
+ t.tm_isdst = -1;
return make_pair (t, ns);
}
@@ -522,6 +523,7 @@ namespace butl
else if (*p != '\0')
bad_val (); // Input is not fully read.
+ t.tm_isdst = -1;
return make_pair (t, ns);
}