iPhone

Hi. I need to display the time zone in which a particular time is displayed. 
The time zone is created from its full POSIX name (i.e. "Asia/Oral"), but when 
I ask the NSTimeZone for its abbreviation, I often get abbreviations in the 
form of "GMT+05:00" instead of "RST" (or whatever is appropriate for that time 
zone).

Time Zone abbreviations are not unique across the world; that's okay. What I 
want is for a user local to Asia/Oral to see the 2-4 letter abbreviation 
displayed and understand what he's seeing.

There is an abbreviation dictionary in iPhone OS, but it goes the wrong way. It 
uses the abbreviations as keys, and the POSIX names as values. But POSIX names 
are unique, while abbreviations are not, so this is a very US-centric 
dictionary.

Is there any way to get short abbreviations for a TimeZone? I need it short due 
to limited space. I need a common abbreviation due to users not knowing POSIX 
timezone names.

Thanks!

-- 
Rick_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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

This email sent to arch...@mail-archive.com

Reply via email to