Skip Menu |

This queue is for tickets about the Date-Manip CPAN distribution.

Report information
The Basics
Id: 67150
Status: resolved
Priority: 0/
Queue: Date-Manip

People
Owner: Nobody in particular
Requestors: FBRIERE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 6.22
Fixed in: (no value)



Subject: Date::Manip::Delta->set(delta) resets mode
According to Date::Manip::Delta(3pm), about set(): When setting the entire delta with "business" or "normal", it flags the delta as a business or non-business delta respectively. When setting the entire delta with "delta", the flag is left unchanged. This does not appear to be the case: perl -MDate::Manip::Delta -le '$d = new Date::Manip::Delta; $d->set("mode", "business"); print $d->type("business"); $d->set(delta => [0,0,0,0,0,0,0]); print $d->type("business");' 1 0
This bug is also now fixed and will be in the next release. Let me know if you need a pre-release and I'll get you a copy. Thanks for the bug reports.