From: Aleksey Filippov Date: Fri, 5 Jul 2024 09:36:39 +0000 (+0300) Subject: Правки часового пояса по умолчанию в консоле X-Git-Tag: 1.3~8^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=6c38140e11e11e07e45b05281f7a44a150866daa;p=erp24_rep%2Fyii-erp24%2F.git Правки часового пояса по умолчанию в консоле --- diff --git a/erp24/config/console.php b/erp24/config/console.php index f0e7bd96..5c2269ba 100755 --- a/erp24/config/console.php +++ b/erp24/config/console.php @@ -14,6 +14,7 @@ $config = [ '@npm' => '@vendor/npm-asset', '@tests' => '@app/tests', ], + 'timeZone' => 'Europe/Moscow', 'components' => [ 'authManager' => [ 'class' => 'yii\rbac\DbManager', diff --git a/erp24/config/dev.console.config.php b/erp24/config/dev.console.config.php index 42e74560..6ad81245 100755 --- a/erp24/config/dev.console.config.php +++ b/erp24/config/dev.console.config.php @@ -12,6 +12,7 @@ return [ 'controllerNamespace' => 'yii_app\controllers\crud', ] ], + 'timeZone' => 'Europe/Moscow', 'components' => [ 'assetManager' => [ 'appendTimestamp' => true, diff --git a/erp24/config/prod.console.config.php b/erp24/config/prod.console.config.php index 7abc08d1..3bef30b3 100755 --- a/erp24/config/prod.console.config.php +++ b/erp24/config/prod.console.config.php @@ -15,6 +15,7 @@ return [ 'controllerNamespace' => 'yii_app\controllers\crud', ] ], + 'timeZone' => 'Europe/Moscow', 'components' => [ 'assetManager' => [ 'appendTimestamp' => true,