diff options
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/locale_facets.tcc | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 287b9ab..ab64b76 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2003-10-24 Paolo Carlini <pcarlini@suse.de> + + * include/bits/locale_facets.tcc + (time_get<>::_M_extract_via_format): Deal with case 'C' too, + equivalent to 'y'. + 2003-10-23 Benjamin Kosnik <bkoz@redhat.com> * 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 4a68771..fcc224c 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); |