diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index 7bfa0352ffde..6e0e17f37bd8 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -660,8 +660,6 @@ struct chrono_formatter { void on_second(numeric_system ns) { if (handle_nan_inf()) { - *out++ = '.'; - handle_nan_inf(); return; }