Re: Time & Date Preferences?
Re: Time & Date Preferences?
- Subject: Re: Time & Date Preferences?
- From: Andreas Mayer <email@hidden>
- Date: Mon, 2 Jun 2003 16:55:51 +0200
Am Montag, 02.06.03 um 10:48 Uhr schrieb Emma Whan:
For
example if you wanted to get the user's date format string you would
use [[NSUserDefaults standardUserDefaults]
objectForKey:NSDateFormatString]
Ah! I thought [[NSCalendarDate calendarDate]
descriptionWithCalendarFormat:@"%x"] and [[NSCalendarDate calendarDate]
descriptionWithCalendarFormat:@"%X"] would use the current format as
selected by the user. Apparently not so. Thanks.
But shouldn't NSDateTimeOrdering be set to something corresponding to
the user preferred format? It's always 'MDYH' for me. Well, don't need
that at the moment ...
bye. Andreas.
_______________________________________________
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.