projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7974ecb
)
Bug 28481: (QA follow-up) Set date to 23:59:59
author
Martin Renvoize
<martin.renvoize@ptfs-europe.com>
Mon, 13 Dec 2021 09:36:33 +0000
(09:36 +0000)
committer
Fridolin Somers
<fridolin.somers@biblibre.com>
Thu, 16 Dec 2021 22:13:51 +0000
(12:13 -1000)
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>
pos/register.pl
patch
|
blob
|
history
diff --git
a/pos/register.pl
b/pos/register.pl
index
0949b2d
..
b6874a2
100755
(executable)
--- a/
pos/register.pl
+++ b/
pos/register.pl
@@
-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) {