• 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
Correctly entering AM/PM using NSDateFormatter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Correctly entering AM/PM using NSDateFormatter


  • Subject: Correctly entering AM/PM using NSDateFormatter
  • From: Chris Barnes <email@hidden>
  • Date: Sat, 19 Oct 2002 23:57:20 -0700

I've attached a NSDateFormatter with the format "%1I:%M%p" to a cell. But when the user enters an explicit reference to any time after noon (say, 5:30 PM), it ends up being recorded as 5:30 AM. Shouldn't it recognize the PM and mark it as 17:30?

Thanks,
Chris
_______________________________________________
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.

  • Follow-Ups:
    • Re: Correctly entering AM/PM using NSDateFormatter
      • From: Nicholas Riley <email@hidden>
  • Prev by Date: Re: How to make a NSMatrix with NSImageCell's ??
  • Next by Date: Accepting the right file drops?
  • Previous by thread: Re: NSTableView displaying a coordinate pair
  • Next by thread: Re: Correctly entering AM/PM using NSDateFormatter
  • Index(es):
    • Date
    • Thread