From b642fd660898bcc8161868f06746ca9dba2cf456 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 17 Mar 2023 14:30:37 +0000 Subject: [PATCH] Bug 33261: Format dates in subscription_issues table To test: * Add a subscription * Receive some issues * Go to the subscription detail page, issues tab * Verify the dates there display as YYYY-MM-DD * Change DateFormat system preference setting, nothing changes. * Apply patch * Date should now be formatted in the way specified in the DateFormat system preference Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 7574626f2c33fb22f1c2467d364842edf4217195) Signed-off-by: Matt Blenkinsop --- .../prog/en/modules/serials/subscription-detail.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt index 8fac9a8cfc..d093249b0d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt @@ -272,14 +272,14 @@ [% IF serialslis.planneddate %] - [% serialslis.planneddate | html %] + [% serialslis.planneddate | $KohaDates %] [% ELSE %] Unknown [% END %] [% IF serialslis.publisheddate %] - [% serialslis.publisheddate | html %] + [% serialslis.publisheddate | $KohaDates %] [% ELSE %] Unknown [% END %] -- 2.39.5