]> 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>
Tue, 15 Oct 2024 20:45:51 +0000 (21:45 +0100)
commit8f181a2f878e8b97a91d68214161cb968888a2b7
treedb122ad6b9e065984a5f7d39636142e4d11ef181
parentcbb1814ffa29acc390bb0de46be49a24d09948d1
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)
libstdc++-v3/config/locale/generic/time_members.cc