[Koha-bugs] [Bug 23382] Issuing rules failing after bug 20912

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 28 10:04:11 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23382

--- Comment #77 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 107456
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=107456&action=edit
Bug 23382: (RM follow-up) Revert "hours_between should match..."

This reverts commit a693c7243c23f888e2fad38a4fff9f37ff4a9301 which
caused regressions.

The original loop compared start date to end date and iterated all the
way to start date equals end date. The alternate implimentation
inadvertantly looped from start date, skipped the first day then
iterated up to one day beyond end date.

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list