diff --git a/reserve/renewscript.pl b/reserve/renewscript.pl index 30d8256c8e..0c6dab4758 100755 --- a/reserve/renewscript.pl +++ b/reserve/renewscript.pl @@ -67,8 +67,10 @@ if ($input->param('return_all')) { my $branch=$input->param('branch'); my $datedue; -if ($input->param('newduedate')){ - $datedue = dt_from_string($input->param('newduedate')); +if ( $input->param('newduedate') ) { + $datedue = dt_from_string( $input->param('newduedate') ); + $datedue->set_hour(23); + $datedue->set_minute(59); } # warn "barcodes : @barcodes";