Re: NSDateFormatter problem
Re: NSDateFormatter problem
- Subject: Re: NSDateFormatter problem
- From: Lorenzo Thurman <email@hidden>
- Date: Fri, 20 Apr 2012 15:40:20 -0500
On Apr 20, 2012, at 11:30 AM, Charles Srstka wrote:
> On Apr 20, 2012, at 9:32 AM, Keary Suska wrote:
>
>>> Is there a way to reset the Language and Text Preferences? Is there an associated Preferences I can throw away?
>>
>> I think it is part of com.apple.systempreferences.plist in ~/Library/Preferences. You can test that by dragging it to the desktop and restarting.
>
> The com.apple.systempreferences.plist file only determines the settings for the System Preferences app itself. What you want is actually part of .GlobalPreferences.plist, although that file also contains a lot of other settings, so I wouldn’t nuke the whole plist file, but rather open it with Xcode and edit it a bit more surgically.
>
> The pref keys you are interested in, I believe, would be AppleLocale, AppleICUDateFormatStrings, and AppleICUTimeFormatStrings.
>
> Charles
>
[formatter setFormatterBehavior:NSDateFormatterBehavior10_4]
this fixed it.
Thanks for the help
"Yes Virginia, there is a Chaminade"
--unknown
Lorenzo Thurman
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden