]> git.mxchange.org Git - friendica.git/commitdiff
Issue 11870: Weeks can now start at every day
authorMichael <heluecht@pirati.ca>
Sun, 28 Aug 2022 09:15:00 +0000 (09:15 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 28 Aug 2022 09:15:00 +0000 (09:15 +0000)
src/Module/Settings/Display.php

index cff75aac877212fdac8b2d23715c925da633fe17..4670bf500d108eed55635f311f9d7412c4416e10 100644 (file)
@@ -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)) {