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:
parent
7974ecbeab
commit
e600418c6d
|
|
@ -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) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue