diff --git a/BSB_LAN/BSB_LAN.ino b/BSB_LAN/BSB_LAN.ino index 6f7c3d36..3d4d3a87 100644 --- a/BSB_LAN/BSB_LAN.ino +++ b/BSB_LAN/BSB_LAN.ino @@ -2159,10 +2159,12 @@ void generateConfigPage(void) { unsigned long h = m / 60; unsigned d = h / 24; printFmtToWebClient(PSTR(MENU_TEXT_UPT ": %lu\r\nms = %ud+%02lu:%02lu:%02lu.%03lu
\r\n"), ms, d, h%24, m%60, s%60, ms%1000); +#if defined(ESP32) struct tm timeinfo; if(getLocalTime(&timeinfo)){ printFmtToWebClient(PSTR(ENUM_CAT_00_TEXT ": %02d.%02d.%02d %02d:%02d:%02d
\r\n"), timeinfo.tm_mday, timeinfo.tm_mon+1, timeinfo.tm_year-100, timeinfo.tm_hour, timeinfo.tm_min, timeinfo.tm_sec); } +#endif #ifndef WEBCONFIG printlnToWebClient(PSTR(MENU_TEXT_BUS ": ")); int bustype = bus->getBusType();