When using the notion trigger node, the retrieved date inside a formula is the wrong one.
The record shows in my local notion app, a formula with todays date (January 15), but the record when retrieved from the notion trigger node, displays tomorrows date inside the formula.
This is the notion database formula, I use it to retrieve a currency exchange rate from google finance, the date inside the formula is “2023-01-15”
My best guess is that is something related to the format of the date, as I understand Notion uses the ISO format for dates, and the corresponding ISO for the date inside the formula is “2023-01-16T00:30:00.000Z” so it might be related with timezone conversion(?), it’s beyond my understanding so far haha.
I’ve reached Notion support as well, just in case it is something on their end.
I would appreciate any suggestions.
Thanks
How do you have n8n installed? I am just wondering if maybe this is down to the instance timezone maybe being different so while Notion is using 00:30:00 if your instance is using a different timezone it might be doing something funky there.
I’m running a version n8n in Digital Ocean droplet with portainer, created with the official guide as a baseline, which I modified, to use an image of n8n that includes python and a python code node, from this GitHub repo.
My local timezone is “America/Santiago”, which is injected with the .env file with Portainer WebUI. Other thing I modified from the original guide, is that I deleted the caddy service since I connect using a tunnel, not the public IP of the server.
Just to make sure, I configured the host timezone with the same of the docker container, but the issue persists