On Fri, Jun 18, 2010 at 11:25 PM, Rick Mann <rm...@latencyzero.com> wrote:
> NSTimeZone* tz = [NSTimeZone timeZoneWithName: @"UTC"];
> NSString* abv = tz.abbreviation;
>
> returns "GMT+00:00". Not very nice.

I was trying your example (Asia/Oral) on 10.6.4 but couldn't get the
response you want. Just GMT+05:00. I thought that -[NSTimeZone
localizedName:locale:] looked promising, but I couldn't get a
combination that gave anything other than GMT+05:00. I tried:

- currentLocale
- initWithLocaleIdentifier:@"kk"
- initWithLocaleIdentifier:@"kk_KZ"

Nada.
_______________________________________________

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