From 665af7d206a8e9693fb9cd0110498d7be535b134 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Fri, 17 May 2019 12:06:48 +0100 Subject: [PATCH] Bug 15260: (follow-up) Add missing POD As per comment #33 Signed-off-by: Josef Moravec --- Koha/Calendar.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Koha/Calendar.pm b/Koha/Calendar.pm index 775c7755fe..e115c57d76 100644 --- a/Koha/Calendar.pm +++ b/Koha/Calendar.pm @@ -453,6 +453,14 @@ C<$offset> is a DateTime::Duration to add to it C<$return_by_hour> is an integer value representing the opening hour for the branch +=head2 get_push_amt + + my $amt = $calendar->get_push_amt($date) + +C<$date> is a DateTime object representing a closed return date + +Using the days_mode syspref value and the nature of the closed return +date, return how many days we should jump forward to find another return date =head2 addDays -- 2.11.0