From e11fc59af9a973e72e6440bc2a0ebc3fa6f5459c Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com> Date: Thu, 18 Aug 2022 15:07:39 +0200 Subject: [PATCH] =?UTF-8?q?=D0=B7=D0=B0=D0=BF=D0=B8=D1=81=D1=8C=20=D0=B2?= =?UTF-8?q?=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=B8=20=D0=B2=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD=D1=83=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/NTP.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/NTP.cpp b/src/NTP.cpp index 30ad55ea..4111fbda 100644 --- a/src/NTP.cpp +++ b/src/NTP.cpp @@ -20,8 +20,9 @@ void ntpInit() { static String prevTime; if (prevTime != timenow) { prevTime = timenow; - // jsonWriteStr(configLiveJson, "timenow", timenow); - SerialPrint("I", F("✔ NTP"), getDateTimeDotFormated()); + String dateAndTime = getDateTimeDotFormated(); + jsonWriteStr_(errorsHeapJson, F("timenow"), dateAndTime); + SerialPrint("I", F("NTP"), "✔ " + dateAndTime); } }, nullptr, true);