--- Comment #6 from murrayc at murrayc dot com 2006-03-15 18:02 ---
Admittedly the libstdc++ time_get::get_date() documentation does say that it
interprets it according to format "X", and now I understand what it meant. I
was looking at the dinkumware and roguewave documen
--- 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
--- Comment #1 from murrayc at murrayc dot com 2006-03-15 17:44 ---
Created an attachment (id=11054)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11054&action=view)
testtimeget.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26701
FIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: murrayc at murrayc dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26701
--- Comment #9 from murrayc at murrayc dot com 2006-03-15 17:43 ---
> By the way, can't you just prepare a small function consistently using 'Y',
just a few lines, after all...
I need to support all locales. I may have to special-case en_GB.
--
http://gc
--- Comment #7 from murrayc at murrayc dot com 2006-03-15 17:33 ---
Maybe we can just call it an enhancement or improvement then?
(Thought I strongly feel that any date meant for humans to read must have 4
year digits and any use of 2 year digits for a human to read should be a bug
--- Comment #5 from murrayc at murrayc dot com 2006-03-15 17:20 ---
> I mean, what evidence do you have that the en_GB locale data should be
> different?
I see no reason why en_GB should want to show 2 year digits, while en_US and
en_DE should be happy with 4. 2 digits l
--- Comment #3 from murrayc at murrayc dot com 2006-03-15 17:11 ---
Oh, and before I submit a time_get function, do we use a glibc function for
time_get too?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26697
--- Comment #2 from murrayc at murrayc dot com 2006-03-15 17:10 ---
Thanks. So, can't we just reassign this to glibc then?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26697
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: murrayc at murrayc dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26697
--- Additional Comments From murrayc at murrayc dot com 2005-04-29 08:20
---
Created an attachment (id=8761)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8761&action=view)
test_castdeleted.cc
This fails (gives odd values) with g++ 3.3, 3.4 and 4.0.
--
http://gcc.
t org
ReportedBy: murrayc at murrayc dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21279
12 matches
Mail list logo