• 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
Re: Patched MySQL plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Patched MySQL plugin
      • From: Simon <email@hidden>
    • Re: Patched MySQL plugin
      • From: Chuck Hill <email@hidden>
References: 
 >Patched MySQL plugin (From: Pascal Robert <email@hidden>)
 >Re: Patched MySQL plugin (From: Louis Demers <email@hidden>)
 >Re: Patched MySQL plugin (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: Patched MySQL plugin
  • Next by Date: Re: Patched MySQL plugin
  • Previous by thread: Re: Patched MySQL plugin
  • Next by thread: Re: Patched MySQL plugin
  • Index(es):
    • Date
    • Thread