libstdc++: Tweak %c formatting for chrono types
commitce89d2f3170e0d6474cee2c5cb9d478426a5b2f6
authorJonathan Wakely <jwakely@redhat.com>
Fri, 27 Sep 2024 15:54:31 +0000 (27 16:54 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 9 Oct 2024 12:39:15 +0000 (9 13:39 +0100)
treecb3fb0246d848958e757553eb4436f8429f3ca21
parentb349c651ff16240b8cc4225db76479154c941c28
libstdc++: Tweak %c formatting for chrono types

libstdc++-v3/ChangeLog:

* include/bits/chrono_io.h (__formatter_chrono::_M_c): Add
[[unlikely]] attribute to condition for missing %c format in
locale. Use %T instead of %H:%M:%S in fallback.
libstdc++-v3/include/bits/chrono_io.h