Getting the NSDateFormatter strings from the user's preferences
Getting the NSDateFormatter strings from the user's preferences
- Subject: Getting the NSDateFormatter strings from the user's preferences
- From: James Bucanek <email@hidden>
- Date: Wed, 18 May 2005 16:14:15 -0700
Greetings,
Here's my second, annoying, question for the day. Where I can get the date and time formatting strings set by the user in the International Preferences Pane?
And if you answer [NSUserDefaults standardUserDefaults], you'd be wrong. These are not the formats set in the System Preferences. (I even dumped every key in the standardUserDefaults dictionary to the console looking for them, and they aren't in there.)
I want to get the full, long, medium, and short date formats, and the short time format strings as they have been customized by the user.
I can't use the new date and time "styles" introduced in 10.4's NSDateFormatter object as I need to run on 10.3, and ideally 10.2.
--
James Bucanek <mailto:email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden