This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] libstdc++/8887


Hi,

this one turns to be due to a trivial typo: "%m/%d/%Y" instead of "%m/%d/%y".

Ok? Release branch too?

Paolo.

/////////////
2002-12-11  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/8887
	* config/locale/generic/time_members.cc
	(__timepunct<char>::_M_initialize_timepunct): Fix typos
	in _M_date_format and _M_date_era_format string literals.

diff -urN libstdc++-v3-orig/config/locale/generic/time_members.cc libstdc++-v3/config/locale/generic/time_members.cc
--- libstdc++-v3-orig/config/locale/generic/time_members.cc	2002-10-17 03:19:58.000000000 +0200
+++ libstdc++-v3/config/locale/generic/time_members.cc	2002-12-11 21:10:42.000000000 +0100
@@ -56,8 +56,8 @@
     __timepunct<char>::_M_initialize_timepunct(__c_locale)
     { 
       // "C" locale
-      _M_date_format = "%m/%d/%Y";
-      _M_date_era_format = "%m/%d/%Y";
+      _M_date_format = "%m/%d/%y";
+      _M_date_era_format = "%m/%d/%y";
       _M_time_format = "%H:%M:%S";
       _M_time_era_format = "%H:%M:%S";
       _M_date_time_format = "";

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]