set compile date back one day

This commit is contained in:
cyberman54 2022-01-18 01:01:05 +01:00
parent ee46833dfa
commit 7392fec66c

View File

@ -359,7 +359,7 @@ time_t compileTime(const String compile_date) {
if (secs == -1) { if (secs == -1) {
// determine month // determine month
sscanf(compile_date.c_str(), "%s %d %d", s_month, &t.tm_mday, &year); sscanf(compile_date.c_str(), "%s %d %d", s_month, &t.tm_mday - 1, &year);
t.tm_mon = (strstr(month_names, s_month) - month_names) / 3; t.tm_mon = (strstr(month_names, s_month) - month_names) / 3;
t.tm_year = year - 1900; t.tm_year = year - 1900;