Related to implementation of
CIRC-886 - truncated due date based on patron expiration. When closed due date management equals keep the current due date AND the patron expiration date was earlier, then the due dates were correct but the times were not correct. The time was 12:00 AM and it should be set to 11:59 PM.
Steps to Reproduce:
- Setup a loan policy with Closed due date management equal to keep the current due date and a 5 day loan (Settings > Circulation > Loan policies)
- Add loan policy to circulation rules (Settings > Circulation > Circulation rules)
- Setup a user with an expiration date that will be prior to the due date (5 days from now)
- Check out item to the user created above that meets conditions of circulation rules and applies the loan policy created above
Due date time will be date and 23:59:59 in the tenant's time zone
Due date time is date and 00:00:00 in the tenant's time zone
UIU-2182 which might fix this issue without additional work. This is NOT true for short-term loans which that are defined in terms of minutes or hours. This is ONLY true for long-term loans which are defined in terms of days, months or years.