Bug 28481: (QA follow-up) Set date to 23:59:59

This patch changes the fix from adding a day to setting the time to
23:59:59.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Martin Renvoize 2021-12-13 09:36:33 +00:00 committed by Fridolin Somers
parent 7974ecbeab
commit e600418c6d
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ else {
: $last_cashup ? $last_cashup->timestamp
: '';
my $end = dt_from_string($transactions_range_to);
$end = $end->add(days => 1); # To should be 'inclusive'
$end = $end->set({ hour => 23, minute => 59, second => 59 }); # To should be 'inclusive'
if ($transactions_range_from) {