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; }