Time::Piece(::MySQL) problem

Marty Pauley marty+belfast-pm at kasei.com
Sun Jul 6 18:43:51 CDT 2003


On Wed Jul  2 10:55:29 2003, Russell Matbouli wrote:
> Hello,
> I have a problem with Time::Piece(::MySQL) - when it gets a date that is
> MySQL's default: ie, a DATETIME field with contents like this:
> 0000-00-00 00:00:00
> 
> then it just barfs. According to the documentation, Time::Piece can only
> deal with dates since the epoch. However, since this would appear to be
> a common enough thing (to have a DATETIME field with the default value),
> does anyone know a way around it?

Not yet, but I'll try to fix it in Time::Piece::MySQL if I can.

-- 
Marty
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
Url : http://mail.pm.org/archives/belfast-pm/attachments/20030707/4467f7fe/attachment.bin


More information about the Belfast-pm mailing list