From: Alexander Smirnov Date: Tue, 27 Aug 2024 13:18:57 +0000 (+0300) Subject: [ERP-165] Поправка timeZone X-Git-Tag: 1.4~19^2~1 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=21e65714926ccf46890fa2222e2ceb8669b695dc;p=erp24_rep%2Fyii-erp24%2F.git [ERP-165] Поправка timeZone --- 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' => [