2003-10-24 Paolo Carlini <pcarlini@suse.de>
authorPaolo Carlini <pcarlini@suse.de>
Fri, 24 Oct 2003 09:19:07 +0000 (09:19 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 24 Oct 2003 09:19:07 +0000 (09:19 +0000)
* 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
libstdc++-v3/include/bits/locale_facets.tcc

index 287b9ab..ab64b76 100644 (file)
@@ -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
index 4a68771..fcc224c 100644 (file)
@@ -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);