--- smsdaemon/Logger.cpp 2010/08/03 07:12:55 1010 +++ smsdaemon/Logger.cpp 2010/08/05 06:53:38 1011 @@ -69,7 +69,8 @@ ostringstream out; - out << Months[ now.tm_mon ] << " " << setw(2) << setfill('0') << now.tm_mday; + + out << (1900+now.tm_year) << "-" << setw(2) << setfill('0') << (now.tm_mon+1) << "-" << setw(2) << setfill('0') << now.tm_mday; out << " " << setw(2) << setfill('0') << now.tm_hour; out << ":" << setw(2) << setfill('0') << now.tm_min; out << ":" << setw(2) << setfill('0') << now.tm_sec;