• 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
NSCalendarDate column changes date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSCalendarDate column changes date


  • Subject: NSCalendarDate column changes date
  • From: Ivan C Myrvold <email@hidden>
  • Date: Mon, 19 Dec 2005 12:01:51 +0100

I have an NSTableView, where a column is set with the formatter: %H% M. It shows only the time.
The column gets its data from an NSArrayController.

If I have the column e.g. set to the date 2005-12-19 11:50, it shows only the time: 1150. But I can see the full date with time on another field, that is binded to the same field.

Now, if I doubleclick the column, and changes the time to another time, e.g. 1200, the date which is shown in the field is changed to 2005-01-01 12:00. That was totally unexpected by me, and I must ask if this is a bug? I expected the table view column to retain the full date, and not change it to January 1st.

Ivan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: How to Save & Restore the Contents of NSTextView.
  • Next by Date: drawing rects at runtime
  • Previous by thread: Re: How to Save & Restore the Contents of NSTextView.
  • Next by thread: drawing rects at runtime
  • Index(es):
    • Date
    • Thread