develooper Front page | perl.datetime | Postings from January 2003

Date::Set::ICal a bit broken

Thread Next
From:
Dave Rolsky
Date:
January 19, 2003 13:44
Subject:
Date::Set::ICal a bit broken
Message ID:
Pine.LNX.4.51.0301191542170.12144@urth.org
I'm trying to get the time zone stuff Jesse started working, but I've
found a problem with using Date::Set.  In Date::Set::ICal, it call ->epoch
on the Date::ICal object.  This is a bad idea, since it should expect
times to be representable as an epoch.  This is especially true since
Date::ICal uses Time::Local::timegm to generate and epoch, and that may
just die if it gets something outside the range it can handle.

Actually, letting it just die is a bug in Date::ICal too ;)


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About