- fix to holidays
This commit is contained in:
parent
ab9eedaf1d
commit
98d6be115c
@ -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,
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user