summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-24 09:19:07 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-24 09:19:07 +0000
commit97f876b9f0577976cd81574dc3d13df7152a9c32 (patch)
treea0b61ad400658df91f96088e276d20a1fa2dc61d /libstdc++-v3
parent28fe824a713f1a632b8d35a0c5fb36dd0026622c (diff)
downloadgcc-97f876b9f0577976cd81574dc3d13df7152a9c32.tar.gz
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'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72884 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/include/bits/locale_facets.tcc1
2 files changed, 7 insertions, 0 deletions
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 <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 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);