Re: Accessing international settings from NSCalendarDate?
Re: Accessing international settings from NSCalendarDate?
- Subject: Re: Accessing international settings from NSCalendarDate?
- From: Andreas Schwarz <email@hidden>
- Date: Sat, 22 Jun 2002 08:17:55 -0700
So, is there anyway that I can access the localization format selected
by
the user in the system international preferences? Right now, I'm using
[someDate descriptionWithCalendarFormat:[[NSUserDefaults
standardUserDefaults] objectForKey:NSShortTimeDateFormatString]
timeZone:nil
locale:nil]] and I get something like "21 Jun 2002 02:15 AM", but that
doesn't match at all what I tried to set in the "Date" pane of the
International preferences.
Just want to throw in that I've had the exact same problem with
NSShortTimeDateFormatString. I just have been too lazy to bother to ask
the list yet ;-). I hope it doesn't turn out to be a NSUserDefaults bug.
Anyone?
Andreas Schwarz
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.