[Koha-bugs] [Bug 25850] CalcDateDue freezes with 'useDaysMode' set to 'Dayweek' and the due date lands on a sunday.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 26 16:35:47 CEST 2020


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

--- Comment #3 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I like the modulo approach you've used, but I wonder if perhaps it's a tiny bit
clearer if you use the same approach as the 'is_holiday' method uses a few
lines beneath your fix?

Also.. I'd love to see a unit test added to prevent future regression.

-- 
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