[Koha-bugs] [Bug 25023] Claims returned dates not formatted according to dateformat preference

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 21 15:08:29 CEST 2023


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

--- Comment #3 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 153783
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153783&action=edit
Bug 25023: Claims returned dates not formatted according to dateformat
preference

This patch updates the code for rendering the claims returned table on
the checkout and patron detail pages. Now the dates are formatted using
the global js-date-format.inc code.

To test, apply the patch and make sure the claims returned feature is
enabled by setting a value in the ClaimReturnedLostValue system
preference.

- Check out some items to a patron.
- Under the checkouts tab, mark several checkouts as "Claim returned."
- Open the claims tab.
- The dates in the "Created on" column should be formatted according to
  your dateformat system preference.
  - Change the dateformat preference and return to the checkouts page.
    Confirm that the claims tab shows dates formatted correctly.
- The "created on" and "updated on" columns should sort correctly with
  any dateformat setting. You may have to directly modify the dates in
  the database in order to have the right data for testing this.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list