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

Same .ics filename for second event overwrites first event in calendar #11

Open
davidroettger opened this issue May 25, 2020 · 3 comments

Comments

@davidroettger
Copy link

Hi,
is it possible to change the name of the downloaded .ics file for each event?
The first event will be overwritten in Mac OSX Calendar when the downloaded .ics has the same name – e.g. “Calendar-event.ics”
Best
David

@commonpike
Copy link
Owner

Really ? It should look at UID in the ICS file, which should be random and differ per event.
https://www.kanzaki.com/docs/ical/uid.html

Can you doublecheck if in the ICS file you generate, the UIDs are different for each event ?

@davidroettger
Copy link
Author

davidroettger commented May 25, 2020

Oh yes, that’s it! Thanks a lot! The UID is the same. I don’t know why but the script doesn’t get my id which I defined inside the options object. Without a specific id it doesn’t work neither. When I set an id in the data object it works! :)

@shaal
Copy link

shaal commented Sep 29, 2020

I encountered the same issue, and created a PR that resolve it #18

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

3 participants