From 231467a924a410519d6f23361916c30a2cf47b25 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 31 Aug 2016 21:54:15 +0300 Subject: [PATCH] Infer DST from the current locale for mktime. --- projects/stargazer/stg_timer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/stargazer/stg_timer.cpp b/projects/stargazer/stg_timer.cpp index 5bdbe712..572b069a 100644 --- a/projects/stargazer/stg_timer.cpp +++ b/projects/stargazer/stg_timer.cpp @@ -44,6 +44,7 @@ lt.tm_mon = 7 - 1; // Nov lt.tm_hour = 23; // 23 h lt.tm_min = 57; // 50 min lt.tm_sec = 0; // 00 sec +lt.tm_isdst = -1; switch (START_TIME) { -- 2.44.2