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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc (-2 / +1 lines)
Lines 43-49 Link Here
43
            if(!value) return '';
43
            if(!value) return '';
44
            var tz = (options&&options.tz)||def_tz;
44
            var tz = (options&&options.tz)||def_tz;
45
            var m = dayjs(value);
45
            var m = dayjs(value);
46
            if ( ! value.match(/^\d{4}-\d{2}-\d{2}$/ ) ) {
46
            if ( ! value.toString().match(/^\d{4}-\d{2}-\d{2}$/ ) ) {
47
                m = m.tz(tz);
47
                m = m.tz(tz);
48
            }
48
            }
49
49
50
- 

Return to bug 33616