git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ca47b6
)
Infer DST from the current locale for mktime.
author
Maxim Mamontov
<faust.madf@gmail.com>
Wed, 31 Aug 2016 18:54:15 +0000
(21:54 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Wed, 31 Aug 2016 18:54:15 +0000
(21:54 +0300)
projects/stargazer/stg_timer.cpp
patch
|
blob
|
history
diff --git
a/projects/stargazer/stg_timer.cpp
b/projects/stargazer/stg_timer.cpp
index 5bdbe7127288ad7d3aa0329f16946d21348f7185..572b069a511ff166ba9e6d82814f1af512048b11 100644
(file)
--- 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)
{