You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sprintf ( datetxt, "%s %02d.%02d. %s", // Format new time to a string
WDAYS[timeinfo.tm_wday],
timeinfo.tm_mday,
timeinfo.tm_mon + 1,
str ) ;
}
Here I am cutting seconds to make more space for last two digists of the year
strncpy(timetxt, str, 5); // Copy first 5 characters (HH:MM)
timetxt[5] = '\0'; // Null-terminate the string
sprintf ( datetxt, "%s %02d.%02d.%02d %s", // Format new time to a string
WDAYS[timeinfo.tm_wday],
timeinfo.tm_mday,
timeinfo.tm_mon + 1,
(timeinfo.tm_year + 1900) % 100, // last 2 digits of the year
timetxt ) ;
The text was updated successfully, but these errors were encountered:
Hi Ed, can you edit following code as given to make date line showing year
ESP32Radio-V2/lib/LCD2004/src/LCD2004.cpp
Lines 436 to 442 in 2399c65
Here I am cutting seconds to make more space for last two digists of the year
The text was updated successfully, but these errors were encountered: