From 21e65714926ccf46890fa2222e2ceb8669b695dc Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Tue, 27 Aug 2024 16:18:57 +0300 Subject: [PATCH] =?utf8?q?[ERP-165]=20=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2?= =?utf8?q?=D0=BA=D0=B0=20timeZone?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/api3/config/main.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/erp24/api3/config/main.php b/erp24/api3/config/main.php index 0129b122..cb38147c 100644 --- a/erp24/api3/config/main.php +++ b/erp24/api3/config/main.php @@ -40,6 +40,8 @@ $config = [ ], ], 'formatter' => [ + 'timeZone' => 'Europe/Moscow', + 'defaultTimeZone' => 'Europe/Moscow', 'dateFormat' => 'yyyy-MM-dd', 'datetimeFormat' => 'yyyy-MM-dd HH:mm:ss', 'decimalSeparator' => ',', @@ -85,6 +87,7 @@ $config = [ ] ], 'params' => $params, + 'timeZone' => 'Europe/Moscow', 'as authenticator' => [ 'class' => \yii\filters\auth\CompositeAuth::class, 'authMethods' => [ -- 2.39.5