Re: Patched MySQL plugin
Re: Patched MySQL plugin
- Subject: Re: Patched MySQL plugin
- From: Ramsey Lee Gurley <email@hidden>
- Date: Wed, 29 Sep 2010 21:58:44 -0400
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden