[koha-commits] main Koha release repository branch 19.05.x updated. v19.05.16-2-g5436117a5c
Git repo owner
gitmaster at git.koha-community.org
Wed Oct 28 17:42:14 CET 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, 19.05.x has been updated
via 5436117a5cdd04e00c227fe46cc5e0aa31732294 (commit)
via 0d3bb28015cdd17d40f1fb613f58cafea20a81a0 (commit)
from 78b6e0a87e67659a13092dedd748153bbeb30e28 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5436117a5cdd04e00c227fe46cc5e0aa31732294
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Wed Nov 6 14:45:12 2019 +0000
Bug 25665: (Bug 23382: (RM follow-up) Ensure tests pass on Wednesdays)
Koha::Calendar assumes we never issue an item on a closed day.. this is
a fair assumption but the hardcoded closed day in our tests means it
does not hold true in this case.
This patch sets the closed day dynamically to prevent such a case.
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
commit 0d3bb28015cdd17d40f1fb613f58cafea20a81a0
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Tue Nov 5 14:18:28 2019 +0000
Bug 25665: (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>
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
-----------------------------------------------------------------------
Summary of changes:
Koha/Calendar.pm | 12 ++++++++----
t/db_dependent/Circulation.t | 18 ++++++++++++------
2 files changed, 20 insertions(+), 10 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list