https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11580
--- Comment #20 from Jonathan Druart <[email protected]> --- I think the correct change is: + my $calendar = Koha::Calendar->new( branchcode => $branch ); + if ( $calendar->is_holiday($datedue) ) { + # Don't return on a closed day + $datedue = $calendar->prev_open_day($datedue); + } Because if expiry date is not a close day, the date due must be the expiry date. But then tests from t/db_dependent/Circulation/CalcDateDue.t are failing -- 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/
