• 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: Time Zone Names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Time Zone Names


  • Subject: Re: Time Zone Names
  • From: Rick Mann <email@hidden>
  • Date: Wed, 11 Mar 2009 13:14:10 -0700


On Mar 11, 2009, at 12:25:49, Nick Zitzmann wrote:


On Mar 11, 2009, at 1:15 PM, Rick Mann wrote:

According to the docs, acceptable time zone names include names like "US/Pacific". What are the other names that can be used? Central, Mountain, Atlantic? What's Hawaii's in this style?

If you'd like to know, then take a look at the contents of the directory /usr/share/zoneinfo.


I can't find "US/*" names in the list supplied by [NSTimeZone knownTimeZoneNames], or in online sources.


That's because they were taken out in Leopard. Several other countries' were as well.

Huh. They seem to exist in /usr/share/zoneinfo:

$ pwd
/usr/share/zoneinfo/US
$ ls
Alaska Aleutian Arizona Central East-Indiana Eastern Hawaii Indiana-Starke Michigan Mountain Pacific Samoa



I'm actually running code in the iPhone simulator right now. Should these lists be the same across SDKs on Mac OS X 10.5+?



-- Rick

_______________________________________________

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


  • Follow-Ups:
    • Re: Time Zone Names
      • From: Nick Zitzmann <email@hidden>
References: 
 >Time Zone Names (From: Rick Mann <email@hidden>)
 >Re: Time Zone Names (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Odd interaction of NSTrackingArea behaviour with drag and drop [BUG?]
  • Next by Date: Re: Time Zone Names
  • Previous by thread: Re: Time Zone Names
  • Next by thread: Re: Time Zone Names
  • Index(es):
    • Date
    • Thread