From a10a4013c78f85fc0c3cdd528825eea6f8554efb Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 19 Sep 2013 00:05:56 +0200 Subject: [PATCH] Change log timestamp format. --- lib/base/streamlogger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/streamlogger.cpp b/lib/base/streamlogger.cpp index 674b509ad..c1f36c824 100644 --- a/lib/base/streamlogger.cpp +++ b/lib/base/streamlogger.cpp @@ -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);