From beb899a20370b1087ca6f2c603b07d24efec2d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mantas=20=C5=A0imk=C5=ABnas?= Date: Thu, 21 Oct 2021 16:13:22 +0300 Subject: [PATCH] Use the correct backend timezone config key --- modules/backend/helpers/Backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/backend/helpers/Backend.php b/modules/backend/helpers/Backend.php index 16793dcaa3..90d4c427b6 100644 --- a/modules/backend/helpers/Backend.php +++ b/modules/backend/helpers/Backend.php @@ -100,7 +100,7 @@ public static function makeCarbon($value, $throwException = true) $carbon->setTimezone(\Backend\Models\Preference::get('timezone')); } catch (Exception $ex) { // Use system default - $carbon->setTimezone(Config::get('backend.timezone', Config::get('app.timezone'))); + $carbon->setTimezone(Config::get('cms.backendTimezone', Config::get('app.timezone'))); } return $carbon;