If user supplies renewal with a new due date it should add
a time using the same logic as dateduespec in circulation.pl
rather than defaulting to 00:00
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
my $datedue;
if ( $input->param('newduedate') ) {
$datedue = dt_from_string( $input->param('newduedate') );
my $datedue;
if ( $input->param('newduedate') ) {
$datedue = dt_from_string( $input->param('newduedate') );
+ $datedue->set_hour(23);
+ $datedue->set_minute(59);
}
# warn "barcodes : @barcodes";
}
# warn "barcodes : @barcodes";