Fixed update of data in month plot after entering new month

This commit is contained in:
Gunnar Skjold
2023-05-02 10:15:31 +02:00
parent 72cc0996e1
commit d729d0c5bd

View File

@@ -589,7 +589,7 @@ bool AmsDataStorage::isMonthHappy() {
breakTime(tz->toLocal(now), tm);
breakTime(tz->toLocal(month.lastMeterReadTime), last);
if(tm.Day > last.Day) {
if(tm.Day != last.Day) {
if(debugger->isActive(RemoteDebug::VERBOSE)) debugger->printf_P(PSTR("(AmsDataStorage) Month data day of last timestamp %d > %d\n"), tm.Day, last.Day);
return false;
}