Re: Setting NSDatePicker to display 24-hour time
Re: Setting NSDatePicker to display 24-hour time
- Subject: Re: Setting NSDatePicker to display 24-hour time
- From: "Sean McBride" <email@hidden>
- Date: Tue, 30 Jan 2007 15:40:47 -0500
- Organization: Rogue Research
On 2007-01-27 21:29, Andrew Madsen said:
>I want to force NSDatePicker to display using 24-hour time instead of
>AM/PM. The NSDatePicker in question is setup using IB, and is bound
>to a Core Data attribute, so I'm not actually doing anything with it
>in code. I tried instantiating an NSDateFormatter (in IB) and
>connecting the NSDatePicker's formatter outlet to the instance of
>NSDateFormatter, but that doesn't seem to have any effect. What's
>the best way to get NSDatePicker to use 24-hour time?
Well, no one else has answered so I'll go out on a limb and say: you
can't. NSDatePicker uses the date&time format that the user prefers, as
set in System Preferences.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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