diff --git a/lib/core/src/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.ts b/lib/core/src/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.ts index 59c22541a41..8d94fa33c20 100644 --- a/lib/core/src/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.ts +++ b/lib/core/src/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.ts @@ -26,7 +26,7 @@ import { BaseCardView } from '../base-card-view'; import { ClipboardService } from '../../../clipboard/clipboard.service'; import { TranslationService } from '../../../translation/translation.service'; import { endOfDay, parse, startOfDay } from 'date-fns'; -import { MatDatepicker } from '@angular/material/datepicker'; +import { MatDatepicker, MatDatepickerInputEvent } from '@angular/material/datepicker'; import { DateFnsUtils } from '../../../common/utils/date-fns-utils'; @Component({ @@ -111,7 +111,7 @@ export class CardViewDateItemComponent extends BaseCardView) { if (newDateValue) { const date = this.getDateValue(newDateValue); if (date) { @@ -134,7 +134,7 @@ export class CardViewDateItemComponent extends BaseCardView) { if (newDateValue) { const date = this.getDateValue(newDateValue); if (date) { @@ -153,7 +153,7 @@ export class CardViewDateItemComponent extends BaseCardView): Date { return this.property.key === 'properties.cm:from' ? startOfDay(newDateValue.value) : endOfDay(newDateValue.value); } }