[Bug libstdc++/26697] time_put::put('x') shows only 2 year digits, in en_GB locale.

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Wed Mar 15 15:53:00 GMT 2006



------- Comment #1 from pcarlini at suse dot de  2006-03-15 15:53 -------
We can't do much about that: the underlying locale data is telling us that 'x'
expands in the en_GB locale to %d/%m/%y, note lower case y. In fact, we are
simply using a threadsafe version of strftime, for a behavior totally
consistent with the C library strftime (you can check yourself in a pure C
snippet).


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26697



More information about the Gcc-bugs mailing list