[Koha-bugs] [Bug 25617] Error on about page when TimeFormat preference is set to 12hr

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 28 15:07:56 CEST 2020


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 105412
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105412&action=edit
Bug 25617: Pass 24hr to output_pref

This patch changes the date formatting function used to create the
current_date_and_time variable by adding '24hr' as the timeformat
parameter. This avoids an error when the TimeFormat preference is set to
12hr.

To test, apply the patch and go to the "About" page in the staff
interface. It should work correctly. The "Date and time" information
under the "Server information" tab should be correct.

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


More information about the Koha-bugs mailing list