Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edalzell committed Feb 14, 2024
1 parent fa053e9 commit 8761412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Types/RecurringEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected function rule(): RRuleInterface
];

if ($end = $this->end_date) {
$rule['until'] = Carbon::parse($end)->endOfDay();
$rule['until'] = Carbon::parse($end)->shiftTimezone($this->timezone['timezone'])->endOfDay();
}

return new RRule($rule);
Expand Down

0 comments on commit 8761412

Please sign in to comment.