From 61cbcf85a1e7d6594133e6e3617dbc4893535c2f Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 28 Aug 2022 09:15:00 +0000 Subject: [PATCH] Issue 11870: Weeks can now start at every day --- src/Module/Settings/Display.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Module/Settings/Display.php b/src/Module/Settings/Display.php index cff75aac8..4670bf500 100644 --- a/src/Module/Settings/Display.php +++ b/src/Module/Settings/Display.php @@ -179,7 +179,15 @@ class Display extends BaseSettings $first_day_of_week = DI::pConfig()->get(local_user(), 'system', 'first_day_of_week', 0); - $weekdays = [0 => DI::l10n()->t("Sunday"), 1 => DI::l10n()->t("Monday")]; + $weekdays = [ + 0 => DI::l10n()->t("Sunday"), + 1 => DI::l10n()->t("Monday"), + 2 => DI::l10n()->t("Tuesday"), + 3 => DI::l10n()->t("Wednesday"), + 4 => DI::l10n()->t("Thursday"), + 5 => DI::l10n()->t("Friday"), + 6 => DI::l10n()->t("Saturday") + ]; $theme_config = ''; if ($themeconfigfile = Theme::getConfigFile($theme_selected)) {