https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117135
--- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:074bea39b01b41b2eab33de051a85107aa43323b commit r13-9136-g074bea39b01b41b2eab33de051a85107aa43323b Author: Jonathan Wakely <jwak...@redhat.com> Date: Tue Sep 24 23:20:56 2024 +0100 libstdc++: Populate generic std::time_get's wide %c format [PR117135] I missed out the __timepunct<wchar_t> specialization for the "generic" implementation when defining the %c format in r15-4016-gc534e37faccf48. libstdc++-v3/ChangeLog: PR libstdc++/117135 * config/locale/generic/time_members.cc (__timepunct<wchar_t>::_M_initialize_timepunc): Set _M_date_time_format for C locale. Set %Ex formats to the same values as the %x formats. (cherry picked from commit 707d84efee7f7eb5a336935f386e094402f267a6)