Re: Internationalized Dates
Re: Internationalized Dates
- Subject: Re: Internationalized Dates
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 31 Oct 2006 21:12:50 -0700
On Oct 31, 2006, at 8:55 PM, Seth Willits wrote:
I'm trying to have a date drawn in a format to fit the width of a
column in a table view. Drawing and determining which to use is
obviously easy, the question is, where the heck do you get the
formats from?
Unless you must target Panther or earlier, the best thing to do is to
use the new-style NSDateFormatters and then just use -setDateStyle:
and -setTimeStyle: to build the proper formatter. Doing this gives
you a lot more control over formatting than using the NSUserDefaults
constants. If you must target Panther or earlier, then you must use
the NSUserDefaults constants.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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