ffzg/recall_notices.pl: added --interval and --dedup
[koha.git] / svc / renew
index fa8475a..1aa9a28 100755 (executable)
--- a/svc/renew
+++ b/svc/renew
@@ -48,9 +48,7 @@ my $branchcode     = $input->param('branchcode')
   || C4::Context->userenv->{'branch'};
 my $date_due;
 if ( $input->param('date_due') ) {
-    $date_due = dt_from_string( $input->param('date_due') );
-    $date_due->set_hour(23);
-    $date_due->set_minute(59);
+    $date_due = dt_from_string( scalar $input->param('date_due') );
 }
 
 my $data;