Any questions about MyChat: installation, tuning, licensing etc.
User avatar
Bido
Hi
I’m a freelancer, working on a project for a client who uses Outlook, and on the side, I manage my own projects on Google Calendar. The two calendars don’t sync with each other. So, acting on a developer’s instinct, I wrote a script one weekend to copy the time slots from one to the other. It only took a few lines of code, and I was pretty pleased with myself. Until Monday.

The thing is, the problems cropped up in a very predictable order. First came the duplicates: every time the script ran, if it couldn’t properly identify an event that had already been copied (modified in the meantime, moved by an hour), it would recreate it. My calendar ended up with three instances of the same video call. Then I thought about two-way synchronization, because that’s the whole point: for each calendar to see the other. That’s when I backed off. An event copied from A to B that goes back from B to A as if it were new, then returns to B, and so on. So I wondered if, for a need as simple as avoiding double bookings, relying on online calendar synchronization wouldn’t save me from having to maintain code, since from what I’ve read, it copies time slots between Google, Outlook, or iCloud either one-way or two-way with a “Busy” block to hide the details. What about you has anyone here ever coded this kind of calendar synchronization? Did you stick with it for a long time, or did you eventually give up at some point and if so, at what point?