Bug#571664: Date::Manip::DateCalc no longer properly handles addition of negative offsets
Don Armstrong
don at debian.org
Fri Feb 26 21:00:03 UTC 2010
Package: libdate-manip-perl
Version: 6.05-1
Severity: normal
The 6.0 series of Date::Manip no longer properly supports the addition
of negative day deltas.
Compare:
$ dpkg -l libdate-manip-perl
ii libdate-manip-perl 5.54-1 a perl library for manipulating dates
$ perl -MDate::Manip -e 'print Date::Manip::DateCalc(q(20000131),q(+ -4 days));'; echo
2000012700:00:00
$ perl -MDate::Manip -e 'print Date::Manip::DateCalc(q(20000131),q(-4 days));'; echo
2000012700:00:00
with
$ dpkg -l libdate-manip-perl
ii libdate-manip-perl 6.05-1 module for manipulating dates
$ perl -MDate::Manip -e 'print Date::Manip::DateCalc(q(20000131),q( -4 days));'; echo
2000012700:00:00
$ perl -MDate::Manip -e 'print Date::Manip::DateCalc(q(20000131),q(+ -4 days));'; echo
$
This leads to an FTBFS in libhtml-calendarmonth-perl (and possibly other issues).
Don Armstrong
--
I'd sign up in a hot second for any cellular company whose motto was:
"We're less horrible than a root canal with a cold chisel."
-- Cory Doctorow
http://www.donarmstrong.com http://rzlab.ucr.edu
More information about the pkg-perl-maintainers
mailing list