From 6248ac1c166b22f4de82680c5ceb26377d1d4e72 Mon Sep 17 00:00:00 2001 From: Ervin Hegedus Date: Sat, 7 Jun 2025 11:53:38 +0200 Subject: [PATCH] fix: change the format of the ascTime() function --- src/utils/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/string.h b/src/utils/string.h index ca2967aa..8b97beeb 100644 --- a/src/utils/string.h +++ b/src/utils/string.h @@ -74,7 +74,7 @@ inline std::string ascTime(const time_t *t) { struct tm timeinfo; localtime_r(t, &timeinfo); char tstr[std::size("Www Mmm dd hh:mm:ss yyyy")]; - strftime(tstr, std::size(tstr), "%c", &timeinfo); + strftime(tstr, std::size(tstr), "%a %b %d %H:%M:%S %Y", &timeinfo); return tstr; }