I am building out a Google Calendar (GCal) sync for my team, where events from tables in Coda are updated to Google Calendar events, so that my team can subscribe and have on their phones, etc. My struggle is with time zones.
The formula for generating GCal events from Coda does not include a field for the time zone. Instead, the time of the event from Coda is assumed to be the time of the Doc (for me, Berlin CET). And the time zone of the generated event in GCal is Berlin. This is a problem.
To help, I’m using the Time Zone Magic pack (TZM) to provide a table of Time Zones – gratefully, I don’t have to code it all myself. I have tried to use TZM’s provided formula to change between time zones, but using it in a table of ~1000 rows the formula never finishes running, and coda slows to unusable for my team. This is a show-stopper, so I’m trying to deal with translating between time zones myself. I don’t have the dates for daylight saving time changes in the table, so I’m missing critical information to do the changes myself. From TZM, I have the current offset, the usual offset, and that’s it. I have no way to query whether a datetime occurs in one of the weird periods…
The event I’m thinking of is taking place in July 2025, when the time zones happen to be 7 hours apart. But right now, March 2025, the time zones are 6 hours apart. So if I say 9am in US Central, the time zones are right now 6 hours apart, the generated time is 3pm. The event gets added to GCal at 3pm, in CET (the Doc’s time zone). But the event will actually occur at 4pm CET in July – the GCal event is WRONG. This is unacceptable.
The two problems, simply stated:
- I am missing the ability to set time zones for GCal event from Coda via the pack.
- I don’t have a way of converting my datetimes between time zones en masse.
Thus, I cannot correctly express datetimes in GCal events. They’re wrong, and I don’t know which ones are wrong. Reliable solution of problem 2. would completely solve the problem. Solution of problem 1. partially solves it, but leaves time-zone switching within my docs still broken for events viewed around daylight saving time changes.
Has anyone dealt with the time zone problem in Coda? How?