diff --git a/app/Http/Resources/TaskResource.php b/app/Http/Resources/TaskResource.php index 53a4de1..9599c46 100644 --- a/app/Http/Resources/TaskResource.php +++ b/app/Http/Resources/TaskResource.php @@ -31,7 +31,7 @@ class TaskResource extends JsonResource 'end_at' => (int) $this->end_at?->timestamp, 'end_format' => $this->end_at?->format('Y年m月d日'), 'created_at' => $this->created_at->timestamp, - 'created_format' => $this->created_at->format('Y-m-d H:i:s'), + 'created_format' => $this->created_at->format('Y-m-d'), ]; }