-
Notifications
You must be signed in to change notification settings - Fork 40
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
Update existing events instead of replacing them #14
Comments
For each source event one can just copy the iCalUID as well. By checking for this ID and the special character one can ensure that events are uniquely matched into source-target pairs. |
+1 |
Because I spend way to much time updating this, here is my version of it https://gist.github.com/hamon-e/d5a653a5ae7865e45ca90cb81252ec1b solve a few problems with iCalUID (recurring events have the same iCalUID but different ids (id = iCalUID + "_" + date + "z"), BUT when we are the ones creating an event id can't contains do not update events if not needed add all the events, remove the if true if not wanted added a color system to recognized the source of the events |
Hi,
is it possible to add functionality such that events are updated when they've changed, instead of always deleting/creating all?
The problem with the latter is that if you merge into a calendar that is subscribed to by other people (who may have email notifications turned on), then that can easily lead to your gmail account sending out hundreds of emails, which you have no control over.
The events should by identifiable by their respective event ids, should they not?
Of course you would need to loop over all events in the specified time frame of the calendar you want to merge into.
The text was updated successfully, but these errors were encountered: