diff options
Diffstat (limited to 'app/Carbon.php')
| -rw-r--r-- | app/Carbon.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Carbon.php b/app/Carbon.php index 4a3942c070..ab788767cc 100644 --- a/app/Carbon.php +++ b/app/Carbon.php @@ -53,7 +53,7 @@ class Carbon extends CarbonImmutable $locale = app(ServerRequestInterface::class)->getAttribute('locale'); assert($locale instanceof LocaleInterface); - $timezone = Auth::user()->getPreference('TIMEZONE', Site::getPreference('TIMEZONE', 'UTC')); + $timezone = Auth::user()->getPreference(User::PREF_TIME_ZONE, Site::getPreference('TIMEZONE', 'UTC')); return $this->locale($locale->code())->setTimezone($timezone); } |
