diff --git a/src/app/shared/components/inline-value-edit/inline-value-edit.component.html b/src/app/shared/components/inline-value-edit/inline-value-edit.component.html index f064f0387..85c6f2e79 100644 --- a/src/app/shared/components/inline-value-edit/inline-value-edit.component.html +++ b/src/app/shared/components/inline-value-edit/inline-value-edit.component.html @@ -205,14 +205,14 @@ {{ displayValue - ? (displayValue | prDate : item?.TimezoneVO) + ? (displayValue | prDate: item?.TimezoneVO) : (!canEdit ? readOnlyEmptyMessage : emptyMessage) || ' ' }} {{ displayValue - ? (displayValue | date : 'yyyy-MM-dd' : '+0000') + ? (displayValue | date: 'yyyy-MM-dd' : '+0000') : (!canEdit ? readOnlyEmptyMessage : emptyMessage) || ' ' }} @@ -222,6 +222,7 @@ [startDate]="ngbDate" [hidden]="!isEditing" [maxDate]="maxNgbDate" + [weekdays]="true" (dateSelect)="onDateChange($event)" [footerTemplate]="!dateOnly ? timePicker : null" > diff --git a/src/app/shared/shared.module.ts b/src/app/shared/shared.module.ts index 354c89462..319ff175b 100644 --- a/src/app/shared/shared.module.ts +++ b/src/app/shared/shared.module.ts @@ -219,7 +219,6 @@ export class SharedModule { library.addIcons(faFileArchive, faPenSquare); this.dialog.registerComponents(this.dialogComponents, this.resolver, true); - this.datePickerConfig.weekdays = false; this.datePickerConfig.minDate = { year: 1, day: 1,