mirror of
https://github.com/humhub/humhub.git
synced 2025-03-22 16:10:13 +01:00
Ensure formatter timeZone is null when default is used
This commit is contained in:
parent
f739c4a30d
commit
6226bf6669
@ -67,8 +67,9 @@ class LanguageSelector implements BootstrapInterface
|
||||
if ($app->user->language) {
|
||||
$app->language = $app->user->language;
|
||||
}
|
||||
|
||||
$app->formatter->timeZone = $app->user->timeZone;
|
||||
if ($app->user->timeZone) {
|
||||
$app->formatter->timeZone = $app->user->timeZone;
|
||||
}
|
||||
$app->formatter->defaultTimeZone = $app->timeZone;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user