From b565400b2437118df3a3727744bfe993d9f653a2 Mon Sep 17 00:00:00 2001 From: Tony Corbett G0WFV Date: Sun, 3 Jul 2016 00:14:31 +0100 Subject: [PATCH] Propagate locale fix to Nextion displays --- Nextion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nextion.cpp b/Nextion.cpp index 4d74c38..3a36803 100644 --- a/Nextion.cpp +++ b/Nextion.cpp @@ -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);