NSCalendarDate has subsecond precision

2008-08-15 Thread Jim Thomason
Wow. I just spent about an hour and a half debugging this, since it's rather nefarious. Now I need to go back to all sorts of existing data and correct for it, too. :-( Anyway, I'm just posting to the list as an informational thing just in case anybody else runs into a similar issue. I wasn't

Re: NSCalendarDate has subsecond precision

2008-08-15 Thread Deborah Goldsmith
NSCalendarDate is deprecated, so any bugs reported against it are unlikely to be fixed. Use NSCalendar instead. Deborah Goldsmith Apple Inc. [EMAIL PROTECTED] On Aug 15, 2008, at 2:28 PM, Jim Thomason wrote: Wow. I just spent about an hour and a half debugging this, since it's rather

Re: NSCalendarDate has subsecond precision

2008-08-15 Thread Quincey Morris
On Aug 15, 2008, at 14:28, Jim Thomason wrote: First of all, the origin of this. I had a little method that returns today at midnight. Basically, I just created an NSCalendarDate object with [NSCalendarDate date] and subtracted off the current hours, minutes, and seconds to yield today with