Skip to content

Commit

Permalink
Merge pull request #301 from s0600204/monthly
Browse files Browse the repository at this point in the history
Support the MONTHLY rrule stanza by itself
  • Loading branch information
u01jmg3 committed Mar 5, 2022
2 parents cb71e94 + 27e7835 commit 9dac91f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ICal/ICal.php
Original file line number Diff line number Diff line change
Expand Up @@ -1476,6 +1476,8 @@ function ($monthDay) use ($matchingDays) {
}
} elseif (!empty($rrules['BYDAY'])) {
$matchingDays = $this->getDaysOfMonthMatchingByDayRRule($rrules['BYDAY'], $frequencyRecurringDateTime);
} else {
$matchingDays[] = $frequencyRecurringDateTime->format('d');
}

if (!empty($rrules['BYSETPOS'])) {
Expand Down

0 comments on commit 9dac91f

Please sign in to comment.