View | Details | Raw Unified | Return to bug 30310
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc (-2 / +1 lines)
Lines 77-83 Link Here
77
77
78
        window.$date_to_rfc3339 = function(value, options) {
78
        window.$date_to_rfc3339 = function(value, options) {
79
            var dateformat = (options&&options.dateformat)||def_date_format;
79
            var dateformat = (options&&options.dateformat)||def_date_format;
80
            let m = moment(value, get_date_pattern(dateformat));
80
            let m = dayjs(value, get_date_pattern(dateformat));
81
            return m.format("YYYY-MM-DD");
81
            return m.format("YYYY-MM-DD");
82
        }
82
        }
83
83
84
- 

Return to bug 30310