taskresource

main
panliang 2024-05-03 18:27:50 +08:00
parent d6895f6ad1
commit 75df6f08b3
1 changed files with 1 additions and 1 deletions

View File

@ -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'),
];
}