diff --git a/ui-ngx/src/app/shared/adapter/custom-datatime-adapter.ts b/ui-ngx/src/app/shared/adapter/custom-datatime-adapter.ts index 9dbb1ed6b3..51ba33d9da 100644 --- a/ui-ngx/src/app/shared/adapter/custom-datatime-adapter.ts +++ b/ui-ngx/src/app/shared/adapter/custom-datatime-adapter.ts @@ -21,7 +21,7 @@ import { NativeDatetimeAdapter } from '@mat-datetimepicker/core'; @Injectable() export class CustomDateAdapter extends NativeDatetimeAdapter { - parse(value: string, parseFormat: any): any { + parse(value: string): Date { if (typeof value === 'number') { return new Date(value); }