This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/26701] std::time_get parses only 2 digits of year, in en_GB locale.
- From: "murrayc at murrayc dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Mar 2006 17:51:08 -0000
- Subject: [Bug libstdc++/26701] std::time_get parses only 2 digits of year, in en_GB locale.
- References: <bug-26701-8548@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from murrayc at murrayc dot com 2006-03-15 17:51 -------
That's maybe excusable for display, but all the documentation that I can find
for time_get says that it should parse up to 4 year digits. You mention in the
other bug that the locale information is used for parsing, but it's obviously
an implementation error to use _only_ that information for parsing.
--
murrayc at murrayc dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26701