From cf411134fd6a94fe56eb2bf22bdca361246e4911 Mon Sep 17 00:00:00 2001 From: glank Date: Thu, 12 Jun 2025 16:12:39 +0200 Subject: [PATCH] Change %T specifier to %H:%M:%S --- simplecpp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simplecpp.cpp b/simplecpp.cpp index 9ff66d8..3e892ff 100755 --- a/simplecpp.cpp +++ b/simplecpp.cpp @@ -3440,7 +3440,7 @@ static std::string getDateDefine(const struct tm *timep) static std::string getTimeDefine(const struct tm *timep) { char buf[] = "??:??:??"; - strftime(buf, sizeof(buf), "%T", timep); + strftime(buf, sizeof(buf), "%H:%M:%S", timep); return std::string("\"").append(buf).append("\""); }