diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index 41c7d35c..b957ab6f 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -2204,7 +2204,7 @@ template struct formatter { if (begin == end) return end; end = detail::parse_chrono_format(begin, end, detail::tm_format_checker()); - // Replace default spec only if the new spec is not empty. + // Replace default format_str only if the new spec is not empty. if (end != begin) format_str = {begin, detail::to_unsigned(end - begin)}; return end; }