diff --git a/DMRIPSC.cpp b/DMRIPSC.cpp index db72784..eddf37c 100644 --- a/DMRIPSC.cpp +++ b/DMRIPSC.cpp @@ -466,7 +466,7 @@ bool CDMRIPSC::writeConfig() ::memcpy(buffer + 0U, "RPTC", 4U); ::memcpy(buffer + 4U, m_id, 4U); - setlocale(LC_ALL,"C"); +// setlocale(LC_ALL,"C"); ::sprintf(buffer + 8U, "%-8.8s%09u%09u%02u%02u%08f%09f%03d%-20.20s%-19.19s%c%-124.124s%-40.40s%-40.40s", m_callsign.c_str(), m_rxFrequency, m_txFrequency, m_power, m_colorCode, m_latitude, m_longitude, m_height, m_location.c_str(), m_description.c_str(), slots, m_url.c_str(), m_version, software); diff --git a/HD44780.cpp b/HD44780.cpp index c900b33..23f44c4 100644 --- a/HD44780.cpp +++ b/HD44780.cpp @@ -752,7 +752,7 @@ void CHD44780::clockInt(unsigned int ms) Time = localtime(¤tTime); } - setlocale(LC_ALL,""); + setlocale(LC_TIME,""); strftime(m_buffer1, 128, "%X", Time); // Time strftime(m_buffer2, 128, "%x", Time); // Date