On Sep 29, 2010, at 9:40 PM, Paul Hoadley wrote:
> On 30/09/2010, at 10:21 AM, Louis Demers wrote: > >> In my app, when that's the behaviour I want, I zero out the data before >> writing it to the database so that subsequent checks for equality will >> return values... > > FWIW, I've found that the only clean solution to this problem is to abandon > using timestamp types to represent a 1-day-resolution date. In my > experience, at least, zeroing out the time part only works until you start > using multiple timezones. Apple agrees with you Paul. http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/index.html Calendar dates should not be represented by NSTimestamp. The Date prototype is wrong for using it IMHO. Ramsey _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
