ryan пре 1 недеља
родитељ
комит
343deb06f2
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      backendApi/modules/v1/models/lists/finance/RechargeList.php

+ 2 - 2
backendApi/modules/v1/models/lists/finance/RechargeList.php

@@ -114,9 +114,9 @@ class RechargeList extends \common\libs\dataList\DataList implements DataListInt
                 'PAY_DATE' => [
                     'header' => \Yii::t('ctx', 'modelListFinancePaidAt'), // 申请时间
                     'value' => function ($row) {
-                        return (new DateTime([
+                        return ((new \DateTimeImmutable([
                             'value' => $row['CREATED_AT'],
-                        ]))->toDate()->result();
+                        ]))->format('Y-m-d'))->result();
                     },
                     'headerOther' => ['width' => '190'],
                 ],