From e6af365491f7f5b56f545e3184cc46e0984b9c05 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 3 Jan 2023 17:55:02 +0100 Subject: [PATCH] Bug 30310: Replace one more occurrence to moment Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc | 2 +- 1 file changed, 1 insertion(+), 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 f8bff29d8f..84d2738004 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 @@ -77,7 +77,7 @@ window.$date_to_rfc3339 = function(value, options) { var dateformat = (options&&options.dateformat)||def_date_format; - let m = moment(value, get_date_pattern(dateformat)); + let m = dayjs(value, get_date_pattern(dateformat)); return m.format("YYYY-MM-DD"); } -- 2.39.5