From 15ed4b8da68090aad9613f7ce47e1125674a769c Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sat, 28 Jan 2017 20:20:47 +0200 Subject: [PATCH] [Components] Use 24 hour format instead of 12 for log file timestamps --- components/openmw-mp/Log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/openmw-mp/Log.cpp b/components/openmw-mp/Log.cpp index def1eaad1..f46938616 100644 --- a/components/openmw-mp/Log.cpp +++ b/components/openmw-mp/Log.cpp @@ -111,7 +111,7 @@ string Log::getFilenameTimestamp() time_t rawtime = time(0); struct tm *timeinfo = localtime(&rawtime); char buffer[25]; - strftime(buffer, 25, "%Y-%m-%d-%I_%M_%S", timeinfo); + strftime(buffer, 25, "%Y-%m-%d-%H_%M_%S", timeinfo); std::string timestamp(buffer); return timestamp; }