On Mar 19, 2013, at 6:38 AM, Fulbert Boussaton <[email protected]> wrote:

> Hi,
> 
> your code works fine here : every value returned by [NSDateComponents 
> weekOfMonth] is equal to "1", as it should.

What's your calendar's value for minimumDaysInFirstWeek?

> 
> You wrote "%ld" in the NSLog param, maybe the cast from NSInteger to long 
> breaks things on your end...

No, computers don't increment and decrement values without you telling them to 
do so.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to