Hi Gunnstein!

On 12/27/2007 01:47 AM Gunnstein Lye wrote:
> On Wednesday 26 December 2007 19:27, Tobias Schlitt wrote:

>> Second I added a design draft for enhancement #010913 "Complex data
>> types (e.g. DateTime) for PersistentObject" [1] right before christmas

> I don't know if this is even relevant here - I just came to think about the 
> unix epoch problem - the standard ezp date datatypes can't be used for 
> birthdays (at least not for people over 37, and there are still a few of 
> those fossils around).

> There is a birthday datatype contribution for this, but it should really go 
> into the distro I think.

> So if this is relevant to this discussion, please add support for pre-1970 
> dates in the Date/DateTime datatypes.

The current implementation supports the new (PHP 5.1) DateTime class,
which is capable of handling negative Unix timestamps and handles these
even as strings. That means, there is no problem handling any
imagineable time value, as long as you store your timestamp in the
database as a large enough integer value or as a string.

HTH!
Toby
-- 
Mit freundlichen Grüßen / Med vennlig hilsen / With kind regards

Tobias Schlitt (GPG: 0xC462BC14) eZ Components Developer

[EMAIL PROTECTED] | eZ Systems AS | ez.no
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to