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

Why is rrule lowercase? #51

Open
jimryan opened this issue Mar 15, 2018 · 0 comments
Open

Why is rrule lowercase? #51

jimryan opened this issue Mar 15, 2018 · 0 comments

Comments

@jimryan
Copy link

jimryan commented Mar 15, 2018

Google Calendar (via iCal) is rejecting ICS files for recurring events generated by this library because the rrule property is lowercase. I'm happy to submit a PR, but I wanted to open an issue and see if it was lowercase for a specific reason. In the ICS files I'm generating, it's the only property that's lowercase.

Failing example:

cal.addEvent('Foo', 'Bar', 'Baz', start, end, {
  freq: 'WEEKLY',
  interval: 4
});

Working example (resolved by writing the property myself with an uppercase RRULE):

cal.addEvent('Foo', 'Bar', 'Baz', start, end, {
  rrule: 'RRULE:FREQ=WEEKLY;INTERVAL=4'
});
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