From 37d290331d79b8de16c1c2e13a9e9774f8bf10fd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 31 May 2022 15:09:43 +0200 Subject: [PATCH] Bug 30310: Adjust js-date-format Test plan: Confirm that the test plan from bug 24455 is still passing Signed-off-by: Martin Renvoize --- .../prog/en/includes/js-date-format.inc | 20 +++++++++++----- .../bootstrap/en/includes/js-date-format.inc | 24 +++++++++++++------ 2 files changed, 31 insertions(+), 13 deletions(-) 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 92445eca313..4f6b08db6d6 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 @@ -2,8 +2,14 @@ [% USE raw %] [% USE Asset %] [% USE KohaDates %] -[% Asset.js("lib/moment/moment.min.js") | $raw %] -[% Asset.js("lib/moment/moment-timezone-with-data-10-year-range.min.js") | $raw %] +[% Asset.js("lib/dayjs/dayjs.min.js") | $raw %] +[% Asset.js("lib/dayjs/plugin/timezone.js") | $raw %] +[% Asset.js("lib/dayjs/plugin/utc.js") | $raw %] + + + + + -- 2.25.1