From 714e51a6c50f95b8bbbcde6915079d894d426398 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 3 Jan 2023 18:16:24 +0100 Subject: [PATCH] Bug 30310: Fix date_to_rfc3339 We need the customParseFormat plugin to provide a custom date format to the dayjs constructor. Found while working on bug 32559, don't remove this function, it will be used later. Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall --- koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc index 84d2738004..7a54fa773a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc @@ -3,11 +3,13 @@ [% USE Asset %] [% USE KohaDates %] [% Asset.js("lib/dayjs/dayjs.min.js") | $raw %] -[% Asset.js("lib/dayjs/plugin/timezone.js") | $raw %] [% Asset.js("lib/dayjs/plugin/utc.js") | $raw %] +[% Asset.js("lib/dayjs/plugin/timezone.js") | $raw %] +[% Asset.js("lib/dayjs/plugin/customParseFormat.js") | $raw %] -- 2.30.2