mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/tickme.git
synced 2026-08-19 04:23:56 +00:00
display task age
This commit is contained in:
@@ -44,7 +44,8 @@ class TaskResource extends JsonResource
|
||||
'assignees' => [
|
||||
'departments' => DepartmentResource::collection($this->departments),
|
||||
'users' => UserResource::collection($this->users)
|
||||
]
|
||||
],
|
||||
'created' => Carbon::parse($this->created_at)->diffForHumans()
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user