From f97dac7f08efd4c024822f1012c36bd2bb785e2f Mon Sep 17 00:00:00 2001 From: Eric Flumerfelt Date: Tue, 10 Mar 2026 07:55:32 -0500 Subject: [PATCH] Replace %c with explicit format string --- otsdaq/Macros/CoutMacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otsdaq/Macros/CoutMacros.h b/otsdaq/Macros/CoutMacros.h index 6fc3933f..fa08be64 100644 --- a/otsdaq/Macros/CoutMacros.h +++ b/otsdaq/Macros/CoutMacros.h @@ -230,7 +230,7 @@ struct TimestampString struct tm tmstruct; ::localtime_r(&linuxTimeInSeconds, &tmstruct); - ::strftime(&retValue[0], 30, "%c %Z", &tmstruct); + ::strftime(&retValue[0], 30, "%a %b %e %H:%M:%S %Y %Z", &tmstruct); retValue.resize(strlen(retValue.c_str())); return retValue;