-
Notifications
You must be signed in to change notification settings - Fork 95
Automatically populate a team vacation calendar #114
Comments
I am also having issues, similar to LLCheong. Only some of the team members's calendars sync. I have tried multiple calendars, scripts, different user groups. I'm unable to identify the issue. |
There appears to be issues with the shouldImportEvent function.
This indexOf will not match because if the the keyword also needs to be in lowercase. To fix this I changed it to:
The main change is adding .toLowerCase() to keyword. And started seeing matches/imports. For some reason though, the console.log says 0 imported, when it actually did import, so I'll try debug that next maybe... |
I have this working now after changing the |
See #209 |
I tried the above script but it seems that it didn't work correctly. I ran the script in November 2019, it only updated the events of the team till February 2020 which was set in the script (3 months' advance). Events that were updated in team members' calendars after February 2020 no longer sync. This was strange since in the script the sync frequency was set to be every hour.
Besides the above mentioned, in the team there are total 6 members. Out of 6 members, only 4 members' calendars were shown after the first run of the script. All members' calendars were shared.
Any clue what will be caused for all the mentioned?
Thanks
The text was updated successfully, but these errors were encountered: