• 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
Selecting a Time Zone (NSTimeZone)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Selecting a Time Zone (NSTimeZone)


  • Subject: Selecting a Time Zone (NSTimeZone)
  • From: Patrick Gibson <email@hidden>
  • Date: Mon, 26 Feb 2007 23:43:20 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello all,

What is the best way to ask a user to select an arbitrary time zone? Are there any existing, open source classes/frameworks that help with this? I've googled around but found nothing.

Apple's implementation in the date and time preference pane is pretty excellent, but it uses some magic in converting the cities into actual NSTimeZone compatible city names (for example, Seattle is not listed in [NSTimeZone knownTimeZoneNames], but is on the map). The amount of information packed into that map is immense and Implementing my own sort of timeZoneSelectionMapView class would be extremely difficult to say the least.

Additional context: I'm using this in an Adium Time Zone Plug-in, the work of which is open source and can be seen here: http:// words.fadeover.org/archives/22 The current implementation simply takes and sorts all the knownTimeZoneNames into continent categories and allows them to be selected from pop-up menus. This would be acceptable except for the fact that many major cities (such as Seattle, as mentioned above) isn't listed. Using GMT offsets would be simpler but they don't take into account DST, which would cause problems for many users.

Any help is appreciated, thanks in advance.

Sincerely,
Patrick G. ~ PGP Public key ID: 126B7A56
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD4DBQFF47cAjipUTRJrelYRAkiFAJ4v9xvCp1rJa6NO2yxOdsMdSBM0UQCY7Ss9
k9h6E3qxTTVDVcCsBOm7Ig==
=gmEh
-----END PGP SIGNATURE-----
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Selecting a Time Zone (NSTimeZone)
      • From: "Philip Q" <email@hidden>
  • Prev by Date: Re: porting core data app to the dark side
  • Next by Date: Re: Selecting a Time Zone (NSTimeZone)
  • Previous by thread: Re: porting core data app to the dark side
  • Next by thread: Re: Selecting a Time Zone (NSTimeZone)
  • Index(es):
    • Date
    • Thread