• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting NSDatePicker to display 24-hour time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Setting NSDatePicker to display 24-hour time (From: Andrew Madsen <email@hidden>)

  • Prev by Date: Re: Flipping Text
  • Next by Date: Problem with contexts synchronization and related arrayControllers when deleting objects in one of the contexts (again)
  • Previous by thread: Setting NSDatePicker to display 24-hour time
  • Next by thread: -undoManagerForTextView: deprecated?
  • Index(es):
    • Date
    • Thread