Skip to content

Commit

Permalink
Be explicit with multi_day (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
edalzell authored Feb 21, 2024
1 parent 5191c45 commit 2b6d577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Types/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function toICalendarEvents(): array
protected function supplement(CarbonInterface $date): ?Entry
{
return unserialize(serialize($this->event))
->setSupplement('multi_day', true)
->setSupplement('multi_day', false)
->setSupplement('start', $date->setTimeFromTimeString($this->startTime()))
->setSupplement('end', $date->setTimeFromTimeString($this->endTime()))
->setSupplement('has_end_time', $this->hasEndTime());
Expand Down

0 comments on commit 2b6d577

Please sign in to comment.