From 3d632c1c68df3f1542723e24db4604b487a83ad0 Mon Sep 17 00:00:00 2001 From: Richard Kellnberger Date: Sat, 7 Oct 2023 16:54:09 +0200 Subject: [PATCH] update chrono suffixes --- include/fmt/chrono.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index cf1db1ee..7bd4206d 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -582,12 +582,9 @@ template FMT_CONSTEXPR inline const char* get_units() { if (std::is_same::value) return "Ts"; if (std::is_same::value) return "Ps"; if (std::is_same::value) return "Es"; - if (std::is_same>::value) return "m"; + if (std::is_same>::value) return "min"; if (std::is_same>::value) return "h"; if (std::is_same>::value) return "d"; - if (std::is_same>::value) return "wk"; - if (std::is_same>::value) return "mo"; - if (std::is_same>::value) return "a"; return nullptr; }