]> git.stg.codes - stg.git/blobdiff - projects/stargazer/stg_timer.cpp
Infer DST from the current locale for mktime.
[stg.git] / projects / stargazer / stg_timer.cpp
index 5bdbe7127288ad7d3aa0329f16946d21348f7185..572b069a511ff166ba9e6d82814f1af512048b11 100644 (file)
@@ -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)
     {