<URL: https://rt.cpan.org/Ticket/Display.html?id=42028 >

2008/12/29 Martin Labonté via RT <bug-date-...@rt.cpan.org>:
>
> Hello,
>
> My servers that were using Date-Tie version 0.18 stopped to work on
December
> 28. Everything is fine when using version 0.17. I will send another
email if
> I get a better idea of the problem.
>
> # A short example - No bug if local time set to be before dec 28 GMT
>
> use Date::Tie;
> Date::Tie->new('year'=>2009, 'month'=>1, 'day'=>1); # this line crashes
>
> ===============
>
> Regards,
>
> Martin Labonté
>

- I've got these Time::Local error messages in Date::Tie 0.18:

$ make test
cp lib/Date/Tie.pm blib/lib/Date/Tie.pm
PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/frac........ok     
t/more........Day too big - 25200 > 24855
Sec too small - 25200 < 74752
Sec too big - 25200 > 11647
t/more........ok     
t/overflow....ok   
t/tie.........Day too big - 25200 > 24855
Sec too small - 25200 < 74752
Sec too big - 25200 > 11647
t/tie.........ok   
t/timezone....Day too big - 25200 > 24855
Sec too small - 25200 < 74752
Sec too big - 25200 > 11647
t/timezone....ok     
All tests successful.
Files=5, Tests=101,  0 wallclock secs ( 0.03 usr  0.02 sys +  0.18 cusr
 0.05 csys =  0.28 CPU)
Result: PASS

- Upgrading Time::Local to 1.1901 fixes the tests.

Flávio S. Glock

Reply via email to