cqp 1 miesiąc temu
rodzic
commit
4eaf42bc51
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Service/ItemService.php

+ 1 - 1
app/Service/ItemService.php

@@ -410,7 +410,7 @@ class ItemService extends Service
         $unit = [];
         foreach ($data as $value){
             $unit[] = [
-                'time' => $value['time'],
+                'time' => date("Y-m-d",$value['time']),
                 'is_work' => $value['is_work'],
             ];
         }