diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2010-01-07 00:22:51 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2010-01-07 00:22:51 +0000 |
commit | 2e8e6a99ee156e8cd15b5e4b9a0eeaa49e2a970b (patch) | |
tree | 4c72dfc64a8a21dead648354eaf800ea69e50865 /config | |
parent | 83c3322912062f7254f542cf9334569e270caace (diff) | |
download | gcc-2e8e6a99ee156e8cd15b5e4b9a0eeaa49e2a970b.zip gcc-2e8e6a99ee156e8cd15b5e4b9a0eeaa49e2a970b.tar.gz gcc-2e8e6a99ee156e8cd15b5e4b9a0eeaa49e2a970b.tar.bz2 |
re PR libstdc++/26701 (std::time_get parses only 2 digits of year, in en_GB locale.)
2010-01-06 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/26701
* include/bits/locale_facets_nonio.tcc (time_get<>::_M_extract_num):
Encode short two digits over four parsings to negative numbers.
(time_get<>::_M_extract_via_format): Adjust, accept both two digits
and four digits for both 'y' and 'Y'.
(time_get<>::do_get_year): Call time_get<>::_M_extract_num.
* doc/xml/manual/prerequisites.xml: Add en_GB.
* testsuite/lib/libstdc++.exp: Adjust
* testsuite/22_locale/time_get/get_date/char/26701.cc: New.
* testsuite/22_locale/time_get/get_date/wchar_t/26701.cc: Likewise.
From-SVN: r155685
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions