[Koha-bugs] [Bug 27835] Closed days offsets with one day
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 10 14:44:44 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27835
--- Comment #10 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #8)
> Ha found it, it's coming from bug 27180.
I understand it changes the logic here, but I think the end results are the
same.
In comment 4:
previous: borrower was charged late on monday morning when the cron ran - if
borrower returns on monday they are charged 1 day
current: borrower was charged late on saturday morning when the cron ran - if
borrower returns on monday they are charged 1 day
The two cases highlighted later:
> Cronjob run:
> on Monday: no fine is generated
> on Tuesday: fine of 2€ is generated (Monday)
> on Wednesday: additional fine of 2€ is generated (Monday + Tuesday)
> on Thursday: no additional fine is generated (Wed was closed)
VS
> Cronjob run:
> on Monday: no fine is generated (usually you can return until 23:59)
> on Tuesday: fine of 2€ is generated (for Tuesday)
> on Wednesday: no fine is generated - library is closed!
> on Thursday: an additional 2€ is generated (for Thursday)
Patron is charged 2 days if returned thursday (after cron run) for either
The change shouldn't affect the amounts owed, just the time when they are
calculated
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list