Merge pull request #11871 from annando/issue-11870

Issue 11870: Weeks can now start at every day
This commit is contained in:
Philipp 2022-08-28 13:09:54 +02:00 committed by GitHub
commit b8a1014a90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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)) {