From bcb0dfd8adb4061dfd9886b3c4c98fd862a8b5fd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 18 Oct 2021 11:50:11 +0200 Subject: [PATCH] Bug 29254: Fix date formatting on the additional contents form We are sending ymd but flatpickr is expecting a 'dateformat' formatted date. Test plan: Create a new content, set a date, save, edit again => The date must be displayed correctly Signed-off-by: Marcel de Rooy Signed-off-by: Lucas Gass Signed-off-by: Jonathan Druart --- .../prog/en/modules/tools/additional-contents.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt index 2f74dfbcfc..5de931c3ed 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt @@ -210,12 +210,12 @@ [% END %]
  • - +
    [% INCLUDE 'date-format.inc' %]
  • - +
    [% INCLUDE 'date-format.inc' %] [% IF category == 'news' %] -- 2.39.5