From: Maxim Mamontov Date: Wed, 31 Aug 2016 18:54:15 +0000 (+0300) Subject: Infer DST from the current locale for mktime. X-Git-Tag: 2.409~108^2 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/231467a924a410519d6f23361916c30a2cf47b25 Infer DST from the current locale for mktime. --- 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) {