From fbe626d828876ad0d1b23fe4792d60c7f253f7e4 Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 17 Jan 2025 21:01:54 +0200 Subject: [PATCH] code format --- src/pattern_formatter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pattern_formatter.cpp b/src/pattern_formatter.cpp index 9422a915..0456121e 100644 --- a/src/pattern_formatter.cpp +++ b/src/pattern_formatter.cpp @@ -123,9 +123,8 @@ public: }; /////////////////////////////////////////////////////////////////////// -// Date time pattern appenders +// Date time pattern formatters /////////////////////////////////////////////////////////////////////// - static const char *ampm(const tm &t) { return t.tm_hour >= 12 ? "PM" : "AM"; } static int to12h(const tm &t) { return t.tm_hour > 12 ? t.tm_hour - 12 : t.tm_hour; }