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'.

From-SVN: r72884
This commit is contained in:
Paolo Carlini 2003-10-24 09:19:07 +00:00 committed by Paolo Carlini
parent 244b1afb66
commit c21dbe8553
2 changed files with 7 additions and 0 deletions

View 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

View 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);