--- lx200_OnStep.cpp.org 2022-03-22 09:15:28.455583393 +0900 +++ lx200_OnStep.cpp 2022-03-27 22:17:06.412984324 +0900 @@ -4750,6 +4750,9 @@ struct tm utm; time_t time_epoch; + memset(<m, 0, sizeof(ltm)); + memset(&utm, 0, sizeof(utm)); + double offset = 0; if (getUTFOffset(&offset)) { @@ -4786,6 +4789,7 @@ return false; } + ltm.tm_isdst = 0; // Get local time epoch in UNIX seconds time_epoch = mktime(<m); --- lx200_TeenAstro.cpp.org 2022-03-27 22:26:58.410327111 +0900 +++ lx200_TeenAstro.cpp 2022-03-27 22:26:30.554860486 +0900 @@ -889,6 +889,9 @@ struct tm utm; time_t time_epoch; + memset(<m, 0, sizeof(ltm)); + memset(&utm, 0, sizeof(utm)); + double offset = 0; if (getUTFOffset(&offset)) @@ -926,6 +929,7 @@ return false; } + ltm.tm_isdst = 0; // Get local time epoch in UNIX seconds time_epoch = mktime(<m); --- lx200pulsar2.cpp.org 2022-03-27 22:31:34.545998360 +0900 +++ lx200pulsar2.cpp 2022-03-27 22:36:16.346826214 +0900 @@ -3362,6 +3362,8 @@ bool LX200Pulsar2::sendScopeTime() { struct tm ltm; + memset(<m, 0, sizeof(ltm)); + if (isSimulation()) { const time_t t = time(nullptr); @@ -3378,6 +3380,7 @@ ltm.tm_year -= 1900; } + ltm.tm_isdst = 0; // Get time epoch and convert to TimeT const time_t time_epoch = mktime(<m); struct tm utm; --- lx200telescope.cpp.org 2022-03-27 22:37:29.610136268 +0900 +++ lx200telescope.cpp 2022-03-27 22:39:03.357313388 +0900 @@ -1316,6 +1316,9 @@ struct tm utm; time_t time_epoch; + memset(<m, 0, sizeof(ltm)); + memset(&utm, 0, sizeof(utm)); + double offset = 0; if (getUTFOffset(&offset)) { @@ -1352,6 +1355,7 @@ return false; } + ltm.tm_isdst = 0; // Get local time epoch in UNIX seconds time_epoch = mktime(<m); --- rainbow.cpp.org 2022-03-27 22:40:53.496418534 +0900 +++ rainbow.cpp 2022-03-27 22:42:08.139848888 +0900 @@ -1517,6 +1517,9 @@ struct tm utm; time_t time_epoch; + memset(<m, 0, sizeof(ltm)); + memset(&utm, 0, sizeof(utm)); + double offset = 0; if (getUTFOffset(&offset)) { @@ -1553,6 +1556,7 @@ return false; } + ltm.tm_isdst = 0; // Get local time epoch in UNIX seconds time_epoch = mktime(<m); --- ioptronHC8406.cpp.org 2022-03-27 22:44:09.914971845 +0900 +++ ioptronHC8406.cpp 2022-03-27 22:46:06.486181884 +0900 @@ -1157,6 +1157,9 @@ struct tm utm; time_t time_epoch; + memset(<m, 0, sizeof(ltm)); + memset(&utm, 0, sizeof(utm)); + if (isSimulation()) { snprintf(cdate, 32, "%d-%02d-%02dT%02d:%02d:%02d", 1979, 6, 25, 3, 30, 30); @@ -1203,6 +1206,7 @@ ltm.tm_mday = day; ltm.tm_mon = month - 1; ltm.tm_year = year - 1900; + ltm.tm_isdst = 0; // Get time epoch time_epoch = mktime(<m); --- evalINDI.c.org 2022-03-27 23:09:26.564966869 +0900 +++ evalINDI.c 2022-03-27 23:10:56.652371311 +0900 @@ -512,6 +512,7 @@ { tm.tm_mon -= 1; /* want 0..11 */ tm.tm_year -= 1900; /* want years since 1900 */ + tm.tm_isdst = 0; return (mktime(&tm)); } else