Re: Week of month confusion?
Re: Week of month confusion?
- Subject: Re: Week of month confusion?
- From: Izak van Langevelde <email@hidden>
- Date: Tue, 19 Mar 2013 17:33:27 +0100
On 19 mrt. 2013, at 17:15, Kyle Sluder wrote:
> On Mar 19, 2013, at 8:22 AM, Izak van Langevelde <email@hidden> wrote:
>
>>
>> On 2013-03-19, at 3:59 PM, Kyle Sluder wrote:
>>
>>>
>>> Haven't confirmed it for all the values you've shown, but I believe it is returning 0 in instances where the week in which the date falls has fewer than the calendar's minimumDaysInFirstWeek in the specified month.
>>
>> This appears to be correct: minimumDaysInFirstWeek was 4; setting it to 1 makes all months start with week number 1.
>> It might be a triviality, but what System Preferences affects this?
>
> It was set to 1 by default on my machine. My first guess is locale. What happens if you change your system locale to United States? We don't use week-of-{month,year} very often here.
I played around with locales, but haven't found the answer yet...
Regards,
Izak
---
Grinnikend door het leven...
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden