fix TypeError undefined function date

This commit is contained in:
ralf 2022-03-09 22:01:55 +02:00
parent 0507872493
commit 801398e69b

View File

@ -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(<string>egw.preference('dateformat'), startDate) +
(start_check == end_check ? '' : ' - ' + date(<string>egw.preference('dateformat'), endDate));
}
}
}