- fix to holidays
This commit is contained in:
@@ -16,7 +16,7 @@ class HolidayResource extends JsonResource
|
|||||||
"id" => $this->id,
|
"id" => $this->id,
|
||||||
"name" => $this->name,
|
"name" => $this->name,
|
||||||
"date" => $this->date->toDateString(),
|
"date" => $this->date->toDateString(),
|
||||||
"isPast" => $this->date->isPast(),
|
"isPast" => $this->date->endOfDay()->isPast(),
|
||||||
"displayDate" => $this->date->toDisplayString(),
|
"displayDate" => $this->date->toDisplayString(),
|
||||||
"dayOfWeek" => $this->date->dayName,
|
"dayOfWeek" => $this->date->dayName,
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user