Propagate locale fix to Nextion displays

This commit is contained in:
Tony Corbett G0WFV 2016-07-03 00:14:31 +01:00
parent c0bb3cdc20
commit b565400b24
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ void CNextion::clockInt(unsigned int ms)
else
Time = ::localtime(&currentTime);
setlocale(LC_ALL,"");
setlocale(LC_TIME,"");
char text[50U];
strftime(text, 50, "t2.txt=\"%x %X\"", Time);
sendCommand(text);