diff --git a/api/js/etemplate/Et2Date/Et2DateReadonly.ts b/api/js/etemplate/Et2Date/Et2DateReadonly.ts index d6a70e9c06..e9c60b7ba6 100644 --- a/api/js/etemplate/Et2Date/Et2DateReadonly.ts +++ b/api/js/etemplate/Et2Date/Et2DateReadonly.ts @@ -52,7 +52,7 @@ export class Et2DateReadonly extends Et2Widget(LitElement) implements et2_IDetac render() { - let parsed : Date | Boolean = this.value ? this.parser(this.value) : false + let parsed : Date | Boolean = this.value ? this.parser(this.value, this.dataFormat) : false return html` ${this.label}