From 511ab472c3d1d2215ae6c3b2037a7e798eabc472 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 30 Nov 2014 20:57:07 +0100 Subject: [PATCH] Bug 12084: Format planned date in publication details on detail page If items are created for a serial subscription, the issue information is shown on the details page in staff with the planned date in (). To test: 1) Create a subscription with items added on receive 2) Receive a few issues and create items 3) Check the staff detail page 4) Verify that the published date shows under Publication details in the items table, but that the date is not formatted 5) Apply patch 6) Verify the date is now formatted according to the DateFormat system preference setting Signed-off-by: Paola Rossi Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi (cherry picked from commit c5a8db10564f1dd1d8e87e9009df9c7918e2c1eb) Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 4395aff8b1..ee5915e774 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -714,7 +714,7 @@ function verify_images() { [% item.serialseq %] [% END %] [% IF ( item.publisheddate ) %] - ([% item.publisheddate %]) + ([% item.publisheddate | $KohaDates %]) [% END %] [% END %] -- 2.39.5