From d835cd19af6125d93e18b684f0177a8667ecc1d0 Mon Sep 17 00:00:00 2001 From: Andreas Roussos Date: Sat, 10 Sep 2016 11:54:06 +0300 Subject: [PATCH] Bug 17289: Holds awaiting pickup shows date unformatted MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit In the Staff client, under Circulation -> Circulation reports, the date shown in the heading of the 'Holds awaiting pickup' report is not formatted according to the 'dateformat' system preference. This (trivial) patch fixes that. Test plan: 1) In the Staff client, go to Circulation and under 'Circulation reports' click on 'Holds awaiting pickup' (cgi-bin/koha/circ/waitingreserves.pl). 2) Observe that the date shown in the heading is always formatted as yyyy-mm-dd regardless of the value of the 'dateformat' syspref. 3) Apply the patch. 4) Re-visit the 'Holds awaiting pickup' report. Confirm that the patch worked, i.e. the date shown in the heading is formatted according to the 'dateformat' system preference. Signed-off-by: Hector Castro Works as advertised Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall (cherry picked from commit f9e3639da7ef02a6ca08014179d216e1d938a401) Signed-off-by: Frédéric Demians (cherry picked from commit b0949e921427decf879e8e20d26bf42fefce992d) Signed-off-by: Julian Maurice --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt index 66b1ac3bc5..b14c5b7839 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt @@ -37,7 +37,7 @@
-

Holds awaiting pickup for your library on: [% show_date %] +

Holds awaiting pickup for your library on: [% show_date | $KohaDates %] [% IF ( all_branches_link ) %] View all libraries -- 2.39.5