View | Details | Raw Unified | Return to bug 17015
Collapse All | Expand All

(-)a/C4/Circulation.pm (-2 / +1 lines)
Lines 3837-3843 sub CalcDateDue { Link Here
3837
          my $calendar = Koha::DiscreteCalendar->new({ branchcode => $branch, days_mode => $daysmode });
3837
          my $calendar = Koha::DiscreteCalendar->new({ branchcode => $branch, days_mode => $daysmode });
3838
          if ( $calendar->is_holiday($datedue) ) {
3838
          if ( $calendar->is_holiday($datedue) ) {
3839
              # Don't return on a closed day
3839
              # Don't return on a closed day
3840
              $datedue = $calendar->prev_open_days( $datedue )->set(hour => 23, minute => 59);
3840
              $datedue = $calendar->prev_open_day( $datedue )->set(hour => 23, minute => 59);
3841
          }
3841
          }
3842
        }
3842
        }
3843
    }
3843
    }
3844
- 

Return to bug 17015