summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slicer/test/conversions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/slicer/test/conversions.cpp b/slicer/test/conversions.cpp
index 3df53b3..2d1ef2c 100644
--- a/slicer/test/conversions.cpp
+++ b/slicer/test/conversions.cpp
@@ -67,6 +67,7 @@ namespace Slicer {
tm.tm_mday = in.day;
tm.tm_mon = in.month- 1;
tm.tm_year = in.year - 1900;
+ tm.tm_isdst = -1;
mktime(&tm);
char buf[BUFSIZ];
auto len = strftime(buf, BUFSIZ, "%Y-%b-%d %H:%M:%S", &tm);