Re: Date formatting
Re: Date formatting
- Subject: Re: Date formatting
- From: Chris Kane <email@hidden>
- Date: Tue, 23 Oct 2001 15:47:49 -0700
Are you using a method which takes a "locale:" argument? If not, you
need to. Without specifying a non-nil locale, the default is not to
localize formatted dates.
Use this expression as the locale argument:
[[NSUserDefaults standardUserDefaults] dictionaryRepresentation]
to use the user's defaults.
Chris Kane
Cocoa Frameworks, Apple
On Tuesday, October 23, 2001, at 11:09 AM, Ken Grigsby wrote:
When I use a date formatting string such as @"%B" for the month the
string is always in english no matter what language is selected in the
"International" system preference. It looks likes there's plenty of
localized versions of the months, days of the week, etc. in the
Foundation.frameworks/Resources/Languages. Is there something else I
need to do?
Ken Grigsby
Thursby Software Systems Inc.
email@hidden
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev