Skip to content

Commit

Permalink
revert some
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppe-arcuti committed Jun 28, 2024
1 parent 3f43b00 commit ad51399
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Recur/RRuleIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ protected function nextMonthly($amount = 1): void
(int) $this->currentDate->format('Y'),
(int) $this->currentDate->format('n'),
$occurrence[0]
)->setTime($occurrence[1], $occurrence[2], $occurrence[3]);
)->modify($this->startTime());
}

/**
Expand Down Expand Up @@ -906,7 +906,7 @@ protected function nextYearly($amount = 1): void
(int) $currentYear,
(int) $currentMonth,
(int) $occurrence[0]
)->setTime($occurrence[1], $occurrence[2], $occurrence[3]);
)->modify($this->startTime());

return;
} else {
Expand Down

0 comments on commit ad51399

Please sign in to comment.