From 7392fec66c63186f80e0083fd81f05c72e97e549 Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Tue, 18 Jan 2022 01:01:05 +0100 Subject: [PATCH] set compile date back one day --- src/timekeeper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timekeeper.cpp b/src/timekeeper.cpp index 2b08e4e0..b5a36ccc 100644 --- a/src/timekeeper.cpp +++ b/src/timekeeper.cpp @@ -359,7 +359,7 @@ time_t compileTime(const String compile_date) { if (secs == -1) { // 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_year = year - 1900;