From d1e7a316317ce07fc06d54eab6e20e2c4591464f Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Fri, 5 Jul 2024 12:14:39 +0300 Subject: [PATCH] =?utf8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?= =?utf8?q?=D0=BD=D0=BE=20=D0=B0=D0=B2=D1=82=D0=BE=D0=B7=D0=B0=D0=BA=D1=80?= =?utf8?q?=D1=8B=D1=82=D0=B8=D0=B5=20=D1=81=D0=BC=D0=B5=D0=BD=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/config/console.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/erp24/config/console.php b/erp24/config/console.php index 3a787941..f0e7bd96 100755 --- a/erp24/config/console.php +++ b/erp24/config/console.php @@ -18,6 +18,15 @@ $config = [ 'authManager' => [ 'class' => 'yii\rbac\DbManager', ], + 'formatter' => [ // fallback if no ext-intl php extension + 'timeZone' => 'Europe/Moscow', + 'defaultTimeZone' => 'Europe/Moscow', + 'dateFormat' => 'php:d.m.Y', + 'datetimeFormat' => 'php:d.m.Y H:i:s', + 'timeFormat' => 'php:H:i', + 'decimalSeparator' => ',', + 'thousandSeparator' => ',', + ], // 'queue' => [ // 'class' => \yii\queue\db\Queue::class, // 'db' => 'db', -- 2.39.5