From 6b6377316eb49d94476e9442728389cc4c9297ff Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 31 Jan 2014 16:21:05 +0000 Subject: [PATCH] Bug 11513: (follow-up) format enrollment end date consistently The previous patch added use of the KohaDates TT plugin, so this patch makes sure that it gets used to format the display of all occurrences of the enrollment end date. To test: [1] Create a patron category with a fixed end date. [2] Bring up the list of all categories and verify that the date is displayed based on the dateformat value. [3] Delete the category, and verify that the confirmation dialog formats the date correctly. Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt index 6106e5f690..ce7f0141c0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt @@ -243,7 +243,7 @@ Confirm deletion of category [% categorycode |html %][% END %] [% IF ( enrolmentperiod ) %] [% enrolmentperiod %] months [% ELSE %] - until [% enrolmentperioddate %] + until [% enrolmentperioddate | $KohaDates %] [% END %] @@ -323,7 +323,7 @@ Confirm deletion of category [% categorycode |html %][% END %] [% IF ( loo.enrolmentperiod ) %] [% loo.enrolmentperiod %] months [% ELSE %] - until [% loo.enrolmentperioddate %] + until [% loo.enrolmentperioddate | $KohaDates %] [% END %] -- 2.39.5