This commit is contained in:
Adrian Hopek
2022-01-18 10:22:32 +01:00
parent d7d84a1b30
commit e883b8c9b7
2 changed files with 4 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ class UserResource extends JsonResource
"avatar" => asset($this->avatar),
"trashed" => $this->trashed(),
"employmentForm" => $this->employment_form->label(),
"employmentDate" => $this->employment_date->translatedFormat("j F Y"),
"employmentDate" => $this->employment_date->toDisplayString(),
];
}
}