mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 20:09:14 +03:00
автоустановка даты в графиках при смене суток
This commit is contained in:
@@ -192,6 +192,8 @@ class Loging : public IoTItem {
|
|||||||
if (prevDate != currentDate) {
|
if (prevDate != currentDate) {
|
||||||
changed = true;
|
changed = true;
|
||||||
SerialPrint("i", F("NTP"), "Change day event");
|
SerialPrint("i", F("NTP"), "Change day event");
|
||||||
|
//установим дату на изменившуюся при смене суток
|
||||||
|
dateIoTItem->setTodayDate();
|
||||||
#if defined(ESP8266)
|
#if defined(ESP8266)
|
||||||
FileFS.gc();
|
FileFS.gc();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user