YA-GCal-Notion-Sync-Script icon indicating copy to clipboard operation
YA-GCal-Notion-Sync-Script copied to clipboard

Whole-day event - offset by one day to get the end date

Open sykin13 opened this issue 1 year ago • 2 comments

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.

sykin13 avatar Sep 29 '22 02:09 sykin13

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.

hk21702 avatar Sep 29 '22 17:09 hk21702

I think this is caused by Google Calendar returning full date event with start and end date not being the same. 🤔

image

mortyccp avatar Sep 30 '22 16:09 mortyccp