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.

Followed test plan. It works as advertised.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a011cbd2e2)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
(cherry picked from commit 7f39c6a00c)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
This commit is contained in:
Jonathan Druart 2015-08-04 16:33:00 +01:00 committed by Liz Rea
parent d1bc1a039f
commit 30a3ba393f
1 changed files with 0 additions and 2 deletions

View File

@ -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;