From: Aleksey Filippov Date: Fri, 5 Jul 2024 09:14:39 +0000 (+0300) Subject: Исправлено автозакрытие смены X-Git-Tag: 1.3~9^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=d1e7a316317ce07fc06d54eab6e20e2c4591464f;p=erp24_rep%2Fyii-erp24%2F.git Исправлено автозакрытие смены --- 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',