- UX fixes #142

Merged
EwelinaLasowy merged 9 commits from ux-fixes into main 2022-05-06 12:29:07 +02:00
Showing only changes of commit 98d6be115c - Show all commits

View File

@@ -16,7 +16,7 @@ class HolidayResource extends JsonResource
"id" => $this->id,
"name" => $this->name,
"date" => $this->date->toDateString(),
"isPast" => $this->date->isPast(),
"isPast" => $this->date->endOfDay()->isPast(),
"displayDate" => $this->date->toDisplayString(),
"dayOfWeek" => $this->date->dayName,
];