[Koha-bugs] [Bug 9014] Add time due to slips

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 19 17:27:06 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9014

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16417|0                           |1
        is obsolete|                            |

--- Comment #35 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 16424
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16424&action=edit
[PASSED QA] Bug 9014 - Add time due to slips

This patch modifies Koha::DateUtils::output_pref to support the new system
preference TimeFormat, which defines the visual format for a time as either the
24 hour format ( default ), or the 12 hour format (HH:MM AM/PM).

The patch also modifies C4::Members::IssueSlip to use output_pref rather than
format_date.

Test Plan:
1) Apply patch
2) Run updatedatabase.pl
3) Issue an item to a patron, verify the times are in 24 hour format.
4) Switch TimeFormat to the 12 hour format.
5) Revisit the patron record you issued an item to, times should now be in a 12
hour format.
6) Print a slip for this patron, you should now see the time as well as the
date.

Katrin Fischer <Katrin.Fischer.83 at web.de>
Passes all tests after fixing the test count in t/DateUtils.t.
Fixed conflicts in syspref.sql and updatedatabase.pl.

Signed-off-by: Cedric Vita <cedric.vita at dracenie.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
As we have another sign-off on this now I gave it a quick
run through and it works as expected.
All tests and QA script pass.

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


More information about the Koha-bugs mailing list