mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 15:09:23 +08:00
Propagate locale fix to Nextion displays
This commit is contained in:
@@ -246,7 +246,7 @@ void CNextion::clockInt(unsigned int ms)
|
|||||||
else
|
else
|
||||||
Time = ::localtime(¤tTime);
|
Time = ::localtime(¤tTime);
|
||||||
|
|
||||||
setlocale(LC_ALL,"");
|
setlocale(LC_TIME,"");
|
||||||
char text[50U];
|
char text[50U];
|
||||||
strftime(text, 50, "t2.txt=\"%x %X\"", Time);
|
strftime(text, 50, "t2.txt=\"%x %X\"", Time);
|
||||||
sendCommand(text);
|
sendCommand(text);
|
||||||
|
|||||||
Reference in New Issue
Block a user