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

Recurring event is set to freq=yearly, but there is no rrule with that #37

Open
cyberbeat opened this issue Nov 23, 2018 · 0 comments
Open

Comments

@cyberbeat
Copy link
Contributor

cyberbeat commented Nov 23, 2018

BEGIN:VEVENT
UID:111
DTSTAMP:20181123T192651Z
CATEGORIES;LANGUAGE=de-DE:Party
CONTACT:
DESCRIPTION:xxx
DTSTART;TZID=Europe/Berlin:20160415T210000
DTEND;TZID=Europe/Berlin:20160416T040000
LOCATION:xxx
RDATE;TZID=Europe/Berlin:20161216T210000
RDATE;TZID=Europe/Berlin:20161223T210000
RDATE;TZID=Europe/Berlin:20161230T210000
SEQUENCE:0
SUMMARY:xxx
END:VEVENT

From this event, these dates are generated:
20160415
20161216
20161223
20161230
20170415
20180415
20190415

This is not correct. This problem seems to be the default setting in Freq.php:

protected $rules = ['freq' => 'yearly', 'interval' => 1];

There is no yearly rule in this event.

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