diff --git a/src/NTP.cpp b/src/NTP.cpp index 4111fbda..ca9eb875 100644 --- a/src/NTP.cpp +++ b/src/NTP.cpp @@ -21,6 +21,7 @@ void ntpInit() { if (prevTime != timenow) { prevTime = timenow; String dateAndTime = getDateTimeDotFormated(); + dateAndTime = deleteToMarkerLast(dateAndTime, ":"); jsonWriteStr_(errorsHeapJson, F("timenow"), dateAndTime); SerialPrint("I", F("NTP"), "✔ " + dateAndTime); }