Fix date/time formats broken with login fix

This commit is contained in:
Tony Corbett
2016-07-02 23:48:00 +01:00
parent fdbf97b1c6
commit c97f9d4801
2 changed files with 2 additions and 2 deletions

View File

@@ -752,7 +752,7 @@ void CHD44780::clockInt(unsigned int ms)
Time = localtime(&currentTime);
}
setlocale(LC_ALL,"");
setlocale(LC_TIME,"");
strftime(m_buffer1, 128, "%X", Time); // Time
strftime(m_buffer2, 128, "%x", Time); // Date