On Fri, 22 Mar 2013 14:24:01 +0100, Riccardo Mottola wrote:
Hi,
given the different failures, I retested everything. I Installed ICU
on my NetBSD machine, so that calendar tests can be included.

Here my setup.

NetBSD i386-32, GCC, icu-50
3 failures, two of which I reported yesterday:
base/NSCalendar/features-10-7.m:
Failed test:       features-10-7.m:33 ... -weekOfMonth returns the
correct week

I think I understand the test failure now. For the US guys, 2012-12-31 is in the fifth week of month, but in the UK, it is actually the sixth.

Adding [cal setFirstWeekday:1] (where 1 is Sunday) into the code should hopefully fix the problem. Could you please verify that?

--
Luboš Doležel


_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to