From a52a9b2ca83c1ff7436f04f70096e84390f6ee2a Mon Sep 17 00:00:00 2001 From: EwelinaLasowy Date: Mon, 21 Feb 2022 13:04:50 +0100 Subject: [PATCH] #41 - cr fix --- .../Http/Resources/VacationRequestActivityResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Infrastructure/Http/Resources/VacationRequestActivityResource.php b/app/Infrastructure/Http/Resources/VacationRequestActivityResource.php index c513785..e751f89 100644 --- a/app/Infrastructure/Http/Resources/VacationRequestActivityResource.php +++ b/app/Infrastructure/Http/Resources/VacationRequestActivityResource.php @@ -13,7 +13,7 @@ class VacationRequestActivityResource extends JsonResource public function toArray($request): array { return [ - "date" => $this->created_at->format("d.m.Y"), + "date" => $this->created_at->toDisplayDate(), "time" => $this->created_at->format("H:i"), "user" => $this->user ? $this->user->fullName : __("System"), "state" => $this->to,