This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/9635] time_get<>::date_order unimplemented
- From: "peturr02 at ru dot is" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Nov 2003 09:57:00 -0000
- Subject: [Bug libstdc++/9635] time_get<>::date_order unimplemented
- References: <20030209130600.9635.peturr02@ru.is>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From peturr02 at ru dot is 2003-11-13 09:56 -------
> However, I have doubts about your testcase: in my reading of 22.2.5.1.2,p1,
> date_order() should return no_order, since in the "is_IS" locale D_FMT is
> "%a %e.%b %Y", that is, the date format contains one additional component (of
> tm_wday type)
I agree with that reading.
This however means that the time_get facet is mostly useless for this locale
(and presumably others). Forcing people to enter the weekday when entering
dates is beyond silly, but that's what the standard says...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9635