Inject node with wrong time !?


grafik

Current default time zone: 'Europe/Berlin'
Local time is now:      Sun Aug 25 12:30:10 CEST 2024.
Universal Time is now:  Sun Aug 25 10:30:10 UTC 2024.

Why does the inject node have one hour difference?

The most likely (and often) cause is the time or timezone is different on the node-red server where node-red is running, to where your browser is running.

And if you are running in Docker, check the timezone of the container is UTC+2

You should consider using node-red-contrib-cron-plus instead of an inject node. There you can define cron-like notifications as well as set the timezone of the node. With this, your flow will be independent of the timezone configuration of the host machine (or docker/k3s/k8s, if you're using one of them).

Regards

I had changed the time zone with raspi-config to Europe/Berlin, but did not restart Node-RED or the raspi itself. After a reboot of the Raspi a new test inject node started at the desired time.
To be sure, I deleted the old inject node and created a new one with the desired time.

Thanks for your answers.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.