Issue 11870: Weeks can now start at every day
This commit is contained in:
parent
45729f0107
commit
61cbcf85a1
1 changed files with 9 additions and 1 deletions
|
@ -179,7 +179,15 @@ class Display extends BaseSettings
|
||||||
|
|
||||||
|
|
||||||
$first_day_of_week = DI::pConfig()->get(local_user(), 'system', 'first_day_of_week', 0);
|
$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 = '';
|
$theme_config = '';
|
||||||
if ($themeconfigfile = Theme::getConfigFile($theme_selected)) {
|
if ($themeconfigfile = Theme::getConfigFile($theme_selected)) {
|
||||||
|
|
Loading…
Reference in a new issue