Change log timestamp format.

This commit is contained in:
Gunnar Beutner 2013-09-19 00:05:56 +02:00
parent 2487d7069c
commit a10a4013c7
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ void StreamLogger::BindStream(std::ostream *stream, bool ownsStream)
*/
void StreamLogger::ProcessLogEntry(std::ostream& stream, bool tty, const LogEntry& entry)
{
String timestamp = Utility::FormatDateTime("%Y/%m/%d %H:%M:%S %z", entry.Timestamp);
String timestamp = Utility::FormatDateTime("%Y-%m-%d %H:%M:%S %z", entry.Timestamp);
boost::mutex::scoped_lock lock(m_Mutex);