From 304e1b02b9bb474e71e46585b8424f75fc9b7f50 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Thu, 26 Oct 2023 13:20:07 +0100 Subject: [PATCH] remove incorrect date modules --- .../process-filters/process-filters-cloud.module.ts | 9 ++------- .../lib/task/task-filters/task-filters-cloud.module.ts | 7 +------ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/lib/process-services-cloud/src/lib/process/process-filters/process-filters-cloud.module.ts b/lib/process-services-cloud/src/lib/process/process-filters/process-filters-cloud.module.ts index c54a2730e09..9d017239216 100644 --- a/lib/process-services-cloud/src/lib/process/process-filters/process-filters-cloud.module.ts +++ b/lib/process-services-cloud/src/lib/process/process-filters/process-filters-cloud.module.ts @@ -20,12 +20,11 @@ import { CommonModule } from '@angular/common'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { ProcessFiltersCloudComponent } from './components/process-filters-cloud.component'; import { MaterialModule } from '../../material.module'; -import { CoreModule, MomentDateAdapter, MOMENT_DATE_FORMATS } from '@alfresco/adf-core'; +import { CoreModule } from '@alfresco/adf-core'; import { HttpClientModule } from '@angular/common/http'; import { EditProcessFilterCloudComponent } from './components/edit-process-filter-cloud.component'; import { ProcessFilterDialogCloudComponent } from './components/process-filter-dialog-cloud.component'; import { AppListCloudModule } from './../../app/app-list-cloud.module'; -import { DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core'; import { ProcessCommonModule } from '../../common/process-common.module'; import { PeopleCloudModule } from '../../people/people-cloud.module'; @@ -42,10 +41,6 @@ import { PeopleCloudModule } from '../../people/people-cloud.module'; PeopleCloudModule ], declarations: [ProcessFiltersCloudComponent, EditProcessFilterCloudComponent, ProcessFilterDialogCloudComponent], - exports: [ProcessFiltersCloudComponent, EditProcessFilterCloudComponent, ProcessFilterDialogCloudComponent], - providers: [ - { provide: DateAdapter, useClass: MomentDateAdapter }, - { provide: MAT_DATE_FORMATS, useValue: MOMENT_DATE_FORMATS } - ] + exports: [ProcessFiltersCloudComponent, EditProcessFilterCloudComponent, ProcessFilterDialogCloudComponent] }) export class ProcessFiltersCloudModule { } diff --git a/lib/process-services-cloud/src/lib/task/task-filters/task-filters-cloud.module.ts b/lib/process-services-cloud/src/lib/task/task-filters/task-filters-cloud.module.ts index 8df5ce88a50..53522f2ad57 100644 --- a/lib/process-services-cloud/src/lib/task/task-filters/task-filters-cloud.module.ts +++ b/lib/process-services-cloud/src/lib/task/task-filters/task-filters-cloud.module.ts @@ -20,10 +20,9 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { CommonModule } from '@angular/common'; import { TaskFiltersCloudComponent } from './components/task-filters-cloud.component'; import { MaterialModule } from '../../material.module'; -import { CoreModule, MomentDateAdapter, MOMENT_DATE_FORMATS } from '@alfresco/adf-core'; +import { CoreModule } from '@alfresco/adf-core'; import { HttpClientModule } from '@angular/common/http'; import { AppListCloudModule } from './../../app/app-list-cloud.module'; -import { DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core'; import { ProcessCommonModule } from '../../common/process-common.module'; import { PeopleCloudModule } from '../../people/people-cloud.module'; import { EditServiceTaskFilterCloudComponent } from './components/edit-task-filters/edit-service-task-filter-cloud.component'; @@ -59,10 +58,6 @@ import { GroupCloudModule } from '../../group/group-cloud.module'; ServiceTaskFiltersCloudComponent, EditTaskFilterCloudComponent, EditServiceTaskFilterCloudComponent - ], - providers: [ - { provide: DateAdapter, useClass: MomentDateAdapter }, - { provide: MAT_DATE_FORMATS, useValue: MOMENT_DATE_FORMATS } ] }) export class TaskFiltersCloudModule { }