diff --git a/src/Module/Settings/Display.php b/src/Module/Settings/Display.php index 0766d2a13..87134103f 100644 --- a/src/Module/Settings/Display.php +++ b/src/Module/Settings/Display.php @@ -219,7 +219,7 @@ class Display extends BaseSettings ]; - $first_day_of_week = $this->pConfig->get($uid, 'system', 'first_day_of_week', 0); + $first_day_of_week = $this->pConfig->get($uid, 'calendar', 'first_day_of_week', 0); $weekdays = [ 0 => $this->t('Sunday'), 1 => $this->t('Monday'), diff --git a/src/Util/Temporal.php b/src/Util/Temporal.php index f6805a922..24d7d7e23 100644 --- a/src/Util/Temporal.php +++ b/src/Util/Temporal.php @@ -238,7 +238,7 @@ class Temporal bool $required = false): string { // First day of the week (0 = Sunday) - $firstDay = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'first_day_of_week', 0); + $firstDay = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'calendar', 'first_day_of_week', 0); $lang = substr(DI::l10n()->getCurrentLang(), 0, 2);