http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8486

--- Comment #16 from Koha Team Lyon 3 <[email protected]> ---
Sorry !  you should have to read this :
if(DateTime->compare( $start_dt, $end_dt ) > -1){
    $days = $days->inverse;
} else {
for (my $dt = $start_dt->clone();
       $dt <= $end_dt;
       $dt->add(days => 1)
    ) {
        if ($self->is_holiday($dt)) {
            $days--;
         }
    }
}

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to