YA-GCal-Notion-Sync-Script
YA-GCal-Notion-Sync-Script copied to clipboard
Whole-day event - offset by one day to get the end date
L497 Comment said offset by one day to get the end date. But the code seems to be missing, which leads to the problem of extending the days of whole-day events on GCal after synchronization.
This is a known thing relating to time zones being funky in Google apps script. Some people had success in fixing it by going into their project settings and changing to a different "timezone" that has the same GMT offset such that the actual time doesn't really change in reality. I'll add this to the FAQ, but a straightforward fix is unfortunately unlikely.
I think this is caused by Google Calendar returning full date event with start and end date not being the same. 🤔