Hi, my lights turns on too late, I checked from the OS side (I run docker), bot the host OS and the docker OS - the timezone is set correctly, but I want to ensure from Node-RED side the time is correct. I use the exec node to run /bin/date - but do not get the a proper answer. I pass char 1 from an init node into exec node, I get back an empty string, and stderr gives /bin/date: invalid date '1'
Any ideas?
[{"id":"cca80ac9.691f58","type":"exec","z":"31180c66.4efe0c","command":"/bin/date","addpay":true,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"","x":340,"y":180,"wires":[["dff643e8.1988c8"],["18a6b660.06aeda"],[]]},{"id":"4884f78f.d816f","type":"inject","z":"31180c66.4efe0c","name":"","topic":"","payload":"1","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":130,"y":160,"wires":[["cca80ac9.691f58"]]},{"id":"dff643e8.1988c8","type":"debug","z":"31180c66.4efe0c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":590,"y":160,"wires":[]},{"id":"18a6b660.06aeda","type":"debug","z":"31180c66.4efe0c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":590,"y":200,"wires":[]}]