Re: Dates (1-day resolution) redux
Re: Dates (1-day resolution) redux
- Subject: Re: Dates (1-day resolution) redux
- From: Paul Hoadley <email@hidden>
- Date: Thu, 12 Aug 2010 08:59:17 +0930
On 11/08/2010, at 11:57 PM, David Avendasora wrote:
> On Aug 10, 2010, at 10:04 AM, Jon Nolan wrote:
>
>> IMO, this fight is absolutely not worth the effort. Store your "birthday" attributes as integers (19700302) or strings and create cover methods on your EOs to convert to date and back.
>
> This seems the most accurate way to handle it. Noon GMT just displaces the problem to the opposite side of the planet, no? It would have to be noon in the timezone in which the event is recorded, but then, what if the user moves? A mess.
I agree that it's a mess. The normalise-to-noon idea seemed attractive to me, though, because it would require almost no intervention (just a single extra method call) in an app that's already in production. Maybe that's a false economy.
--
Paul.
http://logicsquad.net/
_______________________________________________
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