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: Wed, 11 Aug 2010 16:26:12 +0930
On 10/08/2010, at 11:33 PM, John Huss wrote: On Tue, Aug 10, 2010 at 6:12 AM, Paul Hoadley <email@hidden> wrote:
For the attribute that we may as well call the "birthday" attribute, I'm using the "date" prototype from ERPrototypes. Curiously (IMHO), this prototype has an external type of "TIMESTAMP", even though Postgres offers the 1-day-resolution "DATE" type. In any case, I stuck with the prototype as shipped.
I would consider that a bug in ERPrototypes, since there is a dateTime prototype, the date prototype only makes sense if it is different. But fixing it is difficult since it could break everyone using it. Even so, it wouldn't be the first time such a thing was done, and I am a proponent of getting things right, as long as the community is sufficiently notified.
I wonder if it's incidental to the real problem, though, which is that EOF and Java have no 1-day-resolution date type. That is, and I haven't tested it (though it's on my list), I'm not sure that using PostgreSQL's DATE type would actually solve the problem.
|
_______________________________________________
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