mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
форматирование времени
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user