From c21dbe8553f0e26da2d3df76d3d0c387da38c522 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Fri, 24 Oct 2003 09:19:07 +0000 Subject: [PATCH] 2003-10-24 Paolo Carlini * include/bits/locale_facets.tcc (time_get<>::_M_extract_via_format): Deal with case 'C' too, equivalent to 'y'. From-SVN: r72884 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/include/bits/locale_facets.tcc | 1 + 2 files changed, 7 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 287b9ab9554..ab64b7698c1 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2003-10-24 Paolo Carlini + + * include/bits/locale_facets.tcc + (time_get<>::_M_extract_via_format): Deal with case 'C' too, + equivalent to 'y'. + 2003-10-23 Benjamin Kosnik * docs/html/documentation.html: Add a pointer to the doxygen style diff --git a/libstdc++-v3/include/bits/locale_facets.tcc b/libstdc++-v3/include/bits/locale_facets.tcc index 4a68771644e..fcc224c5e37 100644 --- a/libstdc++-v3/include/bits/locale_facets.tcc +++ b/libstdc++-v3/include/bits/locale_facets.tcc @@ -1691,6 +1691,7 @@ namespace std __times[0]); break; case 'y': + case 'C': // C99 // Two digit year. [tm_year] _M_extract_num(__beg, __end, __tm->tm_year, 0, 99, 2, __ctype, __err);