Uploaded image for project: 'mod-circulation'
  1. mod-circulation
  2. CIRC-1158

Truncated due date/time based on patron expiration results in time of 00:00:00

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • None
    • None
    • EPAM-Veg Sprint 116
    • 1
    • Vega
    • R2 2021 Bugfix

    Description

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

      1. 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)
      2. Add loan policy to circulation rules (Settings > Circulation > Circulation rules)
      3. Setup a user with an expiration date that will be prior to the due date (5 days from now)
      4. Check out item to the user created above that meets conditions of circulation rules and applies the loan policy created above

      Expected Results:
      Due date time will be date and 23:59:59 in the tenant's time zone

      Actual Results:
      Due date time is date and 00:00:00 in the tenant's time zone

      Additional Information:
      See 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.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                roman-barannyk Roman Barannyk
                dbranchini Darcy Branchini
                Darcy Branchini Darcy Branchini
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases