From 2194cb952dfced56e6e78685a801c05c65a7fcb9 Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Fri, 9 Jan 2026 13:36:49 +0100 Subject: [PATCH] fix(planner): respect first day of week setting in schedule dialog Wait for localization config to load before rendering mat-calendar so DateAdapter.getFirstDayOfWeek() returns the user's configured value. Fixes #5935 --- .../dialog-schedule-task.component.html | 14 ++++++++------ .../dialog-schedule-task.component.ts | 6 ++++++ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/app/features/planner/dialog-schedule-task/dialog-schedule-task.component.html b/src/app/features/planner/dialog-schedule-task/dialog-schedule-task.component.html index 6990af0fe..287cc0799 100644 --- a/src/app/features/planner/dialog-schedule-task/dialog-schedule-task.component.html +++ b/src/app/features/planner/dialog-schedule-task/dialog-schedule-task.component.html @@ -31,12 +31,14 @@ - + @if (isConfigReady()) { + + } @if (isShowEnterMsg) {
this._globalConfigService.localization() !== undefined, + ); + T: typeof T = T; minDate = new Date(); readonly calendar = viewChild.required(MatCalendar);