We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f345ed1 commit fdd1110Copy full SHA for fdd1110
divert_sim/divert_sim.cpp
@@ -70,7 +70,7 @@ time_t parse_date(const char *dateStr)
70
time.tm_min = m; // 0-59
71
time.tm_sec = s; // 0-61 (0-60 in C++11)
72
73
- return mktime(&time);
+ return timegm(&time);
74
}
75
76
int get_watt(const char *val)
0 commit comments