From e496576ebfb475f79c558f4b78f90ed615d9ff70 Mon Sep 17 00:00:00 2001 From: Franck Dary <franck.dary@lis-lab.fr> Date: Wed, 28 Apr 2021 10:21:13 +0200 Subject: [PATCH] Added date in timestamps --- common/src/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/util.cpp b/common/src/util.cpp index a274723..85aa5d3 100644 --- a/common/src/util.cpp +++ b/common/src/util.cpp @@ -232,7 +232,7 @@ std::string util::getTime() std::time(&rawtime); - std::strftime(buffer, sizeof(buffer), "%H:%M:%S", std::localtime(&rawtime)); + std::strftime(buffer, sizeof(buffer), "%d/%m/%Y-%H:%M:%S", std::localtime(&rawtime)); return std::string(buffer); } -- GitLab