Propagate locale fix to Nextion displays
This commit is contained in:
parent
c0bb3cdc20
commit
b565400b24
|
@ -246,7 +246,7 @@ void CNextion::clockInt(unsigned int ms)
|
|||
else
|
||||
Time = ::localtime(¤tTime);
|
||||
|
||||
setlocale(LC_ALL,"");
|
||||
setlocale(LC_TIME,"");
|
||||
char text[50U];
|
||||
strftime(text, 50, "t2.txt=\"%x %X\"", Time);
|
||||
sendCommand(text);
|
||||
|
|
Loading…
Reference in New Issue