From 031c7fe3ef7113fa2705e496e4c8a586b1d1b2e1 Mon Sep 17 00:00:00 2001 From: Artem Dzhereleiko Date: Tue, 16 Aug 2022 14:38:43 +0300 Subject: [PATCH] UI: refactoring --- ui-ngx/src/app/shared/adapter/custom-datatime-adapter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }