• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSWeekCalendarUnit and DIN 1355 / ISO 8601
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWeekCalendarUnit and DIN 1355 / ISO 8601


  • Subject: Re: NSWeekCalendarUnit and DIN 1355 / ISO 8601
  • From: Alexander Spohr <email@hidden>
  • Date: Fri, 15 Jan 2010 09:59:07 +0100

Filed a bug, Problem ID: 7545433


Am 13.01.2010 um 14:11 schrieb Alexander Spohr:

> Hi list,
>
> I just fell over NSWeekCalendarUnit. It delivers the week of a date.
> Sadly it seems to do so only for the US but not for e.g. Germany and all ISO 8601 countries (most of europe) - except UK.
>
> The current week is 3 in the US but 2 in Europe (except UK ;)
>
> For a list see:
> http://en.wikipedia.org/wiki/Seven-day_week#Week_numbering
>
> Currently we use something like this:
>
> [[[NSCalendar currentCalendar]
> 	components:NSWeekCalendarUnit fromDate:[NSDate date]]
> 		week];
>
> Is this a bug of NSCalendar or am I doing something wrong?
>
> 	atze

_______________________________________________

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

References: 
 >NSWeekCalendarUnit and DIN 1355 / ISO 8601 (From: Alexander Spohr <email@hidden>)

  • Prev by Date: Re: iPhone: UITableView with cells of varying heights
  • Next by Date: Re: Time to drop PowerPC support?
  • Previous by thread: NSWeekCalendarUnit and DIN 1355 / ISO 8601
  • Next by thread: iPhone: CATransition done (get the key?)
  • Index(es):
    • Date
    • Thread