https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110719
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #0) > Should we consistently use std::time_put for all locale-specific output? > Alternatively, we could use time_point_cast and duration_cast to round to > seconds. None of the locale-specific formats print fractional seconds. This has now been implemented on trunk. > It would be useful to profile std::format with and without std::time_get, to > see if reusing std::format performs better. If it doesn't, using > std::time_put might be simpler. This profiling would still be useful.