You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I love this script! It makes my subscription SO much more useful, since the info is up to date. But, I'd like to just sync events in the future, and if I do that, often the first event or two will be missing. My theory is that it has to do with the ics calendar and my google calendar being in different time zones. Is that possible? Could I change something in the script so it will actually go back a few hours or even sync future events and maybe one or two days of past events?
The text was updated successfully, but these errors were encountered:
At this early stage timezones are not considered yet which is why we include events from the day before. You can change it to (2,0,0,0) and see it it makes a difference.
Helpers.gs Line 466
if (icalEvent.endDate.compare(startUpdateTime) < 0){
Timezones should now be fully handled, therefore no Offset. Change it to
var endDate = icalEvent.endDate.clone();
endDate = endDate.adjust(2,0,0,0);
if (endDate.compare(startUpdateTime) < 0){
and see if it changes the sync result.
With these changes it should include the past two days, please let me know if it has any effect on your end.
Thanks for your help! It seems to work great, but now it is including one month of past events. I don't know what the problem yesterday was with it not showing my first upcoming event.
Hi! I love this script! It makes my subscription SO much more useful, since the info is up to date. But, I'd like to just sync events in the future, and if I do that, often the first event or two will be missing. My theory is that it has to do with the ics calendar and my google calendar being in different time zones. Is that possible? Could I change something in the script so it will actually go back a few hours or even sync future events and maybe one or two days of past events?
The text was updated successfully, but these errors were encountered: