[Koha-bugs] [Bug 6796] Overnight checkouts taking into account opening and closing hours

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 1 21:28:52 CEST 2023


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

Sam Lau <samalau at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |samalau at gmail.com
             Status|Needs Signoff               |Failed QA

--- Comment #38 from Sam Lau <samalau at gmail.com> ---
I'm in the process of testing this and so far shortening the loan period seems
to be working for me, but extending the loan period isn't working as expected.


Steps taken to replicate my issue
1) Set library opening time to 8:30am closing time to 9pm
2) set loan period to be 3 hours.
3) Set the "ConsiderLibraryHoursWhenIssuing" preference to the extend option.
4) checked out an item. My checkout time and date was 06/01/2023 19:07

  - with the loan period I selected (3 hours), the book would be due on
06/01/2023 @ 22:07, but since the library closes at 9pm (21:00), the due date
should be extended to the next day at opening time. 

5) The shown due date is 06/03/2023 at 08:30

   - The due date that was expected was 06/02/2023 at 08:30 so it skipped over
a day for some reason.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list