Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recurrence by day can be a multi day scope. #205

Open
Roywcm opened this issue Dec 15, 2022 · 0 comments
Open

Recurrence by day can be a multi day scope. #205

Roywcm opened this issue Dec 15, 2022 · 0 comments

Comments

@Roywcm
Copy link

Roywcm commented Dec 15, 2022

When I parse something like this:

$startDate   = new \DateTime('2022-12-06 00:00:00');
$endDate   = new \DateTime('2022-12-08 00:00:00');
new \Recurr\Rule('RRULE:FREQ=WEEKLY;BYDAY=TU', $startDate, $endDate);

The collection which returns do have a weekly scope with an end date on thursdays but a starting day at tuesdays.
Shouldn't this be one day, only the thursdays?

This happens with the synchronization with Google Calendar, where a weekly event was updated from three days to one day. Google Calendar only updated the recurrence value and not the scope of dates

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

No branches or pull requests

1 participant