• 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
Setting NSDatePicker to display 24-hour time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting NSDatePicker to display 24-hour time


  • Subject: Setting NSDatePicker to display 24-hour time
  • From: Andrew Madsen <email@hidden>
  • Date: Sat, 27 Jan 2007 21:29:59 -0700

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?

Thanks,
Andrew Madsen
_______________________________________________

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


  • Follow-Ups:
    • Re: Setting NSDatePicker to display 24-hour time
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: KVO, design and documentaion
  • Next by Date: -undoManagerForTextView: deprecated?
  • Previous by thread: Re: NSStatusItem not highlighted when using NSWindow instead of NSMenu
  • Next by thread: Re: Setting NSDatePicker to display 24-hour time
  • Index(es):
    • Date
    • Thread