From 2c5ecb3584503c8cb94699f1364976d625ca2590 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 4 Aug 2015 16:33:00 +0100 Subject: [PATCH] Bug 11298: Don't force the renew time to 23:59 If you try to renew an item using the "Renewal due date" at the bottom of the checkouts table, the time will be hardcoded to 23:59 no matter what the user has chosen. Test plan: Check an item out to a patron renew the item and specify a due date using the datetime picker plugin at the bottom of the table Confirm the time you have chosen is correctly used. --- svc/renew | 2 -- 1 file changed, 2 deletions(-) diff --git a/svc/renew b/svc/renew index fa8475a..33ac4fa 100755 --- a/svc/renew +++ b/svc/renew @@ -49,8 +49,6 @@ my $branchcode = $input->param('branchcode') 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); } my $data; -- 2.1.0