From 801398e69bd6ac5d870f85ca5768e1eb47cc0422 Mon Sep 17 00:00:00 2001 From: ralf Date: Wed, 9 Mar 2022 22:01:55 +0200 Subject: [PATCH] fix TypeError undefined function date --- calendar/js/View.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/js/View.ts b/calendar/js/View.ts index 4882020ebe..5e8d4a56a0 100644 --- a/calendar/js/View.ts +++ b/calendar/js/View.ts @@ -11,6 +11,7 @@ */ import {etemplate2} from "../../api/js/etemplate/etemplate2"; import {egw} from "../../api/js/jsapi/egw_global"; +import {date} from "../../api/js/etemplate/lib/date.js"; export abstract class View { @@ -441,4 +442,4 @@ export class listview extends View date(egw.preference('dateformat'), startDate) + (start_check == end_check ? '' : ' - ' + date(egw.preference('dateformat'), endDate)); } -} +} \ No newline at end of file