Hey there,
First, thanks to the team for a sleek, powerful tool! I’ve set myself up with a telegram-github-obsidian quick note taking app, but there’s one detail I can’t figure out…
When I put the following in the Github Node Commit message expression field it outputs the right date in preview, BUT on Github it always returns the UTC one (whether in the file contents or in the commit message):
So the preview is rendered by your browser rather than n8n. Your expression would just run pure JavaScript, so your browser behaviour might differ from what Node.js is doing (the server component n8n uses to actually execute the workflow).
In order to have a more predictable behaviour you can try using the Date&Time node to force a specific format like so:
You can then reference the field returned by the Date & Time node in your GitHub node.