mirror of
https://github.com/friendica/friendica
synced 2025-04-30 07:04:23 +02:00
Issue 12524: Fix first day of week
This commit is contained in:
parent
08bfd37cac
commit
46fdf696ee
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue