Skip to content

fix: keep weekly BYHOUR recurrences on the weekday of DTSTART - #816

Open
SAY-5 wants to merge 1 commit into
sabre-io:masterfrom
SAY-5:fix-weekly-byhour-without-byday
Open

SAY-5 wants to merge 1 commit into
sabre-io:masterfrom
SAY-5:fix-weekly-byhour-without-byday

Conversation

@SAY-5

@SAY-5 SAY-5 commented Nov 14, 2026

Copy link
Copy Markdown

Fixes #808

With BYHOUR set and no BYDAY, nextWeekly() accepted any weekday, so FREQ=WEEKLY;BYHOUR=9 gave an occurrence every day. The weekday now comes from DTSTART when BYDAY is missing, the same way FREQ=WEEKLY without BYHOUR already behaves.

Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RRuleIterator: FREQ=WEEKLY with BYHOUR and without BYDAY repeats every day

1 participant