]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-165] Поправка timeZone feature_smirnov_erp-165_employee_on_shift_active_field
authorAlexander Smirnov <fredeom@mail.ru>
Tue, 27 Aug 2024 13:18:57 +0000 (16:18 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Tue, 27 Aug 2024 13:18:57 +0000 (16:18 +0300)
erp24/api3/config/main.php

index 0129b12235eb3b22b542648e9432184842256bf6..cb38147c9227ab76ef038398ee46dfef082d3b71 100644 (file)
@@ -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' => [