I have a self-hosted solution with +3 timezone set (GENERIC_TIMEZONE=Europe/Moscow). Also I’m testing the desktop client.
I run a simple Telegram process: get the message and create a Google Cal event from now 3 hours long.
Problem. My self-hosted solution and desktop client give 2 different time outputs in the formatiing Date & Time node. But the result in GCal is the same.
You can see the timezone difference (3 hours). However, the final result is fine. Looks like Google Calendar looks at the UTC date and my timezone. I can’t explain this difference.
Hi @artildo, the GENERIC_TIMEZONE environment variable would only be used by the Cron trigger. Javascript will otherwise use the server (or desktop) time zone.
To get a timestamp in a specific time zone from the Date & Time node, you can use the To Timezone option:
The Google Calendar node would convert the time stamp back into an ISO 8601 string when calling the respective API assuming a timestamp without time zone information is in the server (or desktop) time zone.
Hi @MutedJam, thank you for the answer.
I consulted the VPS support, the server’s timezone is UTC. Now I know the role of the GENERIC_TIMEZONE variable.