]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Populate generic std::time_get's wide %c format [PR117135]
authorJonathan Wakely <jwakely@redhat.com>
Tue, 24 Sep 2024 22:20:56 +0000 (23:20 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 14 Oct 2024 15:48:49 +0000 (16:48 +0100)
commit707d84efee7f7eb5a336935f386e094402f267a6
tree7b18a16cfd601053337718ffe05eb69d85f0d6c6
parent0515b2436b7c7e5e391eae7edc42173c52bab61d
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.
libstdc++-v3/config/locale/generic/time_members.cc