I have a small flow which consist of:
Inject node - just to trigger
Function node to get current time - msg.now
a Moment Node to get a display of time in the format I want.
[{"id":"2972bd2b49e268c3","type":"inject","z":"e6db211287369afe","g":"73d4a867c162a3dc","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":180,"y":1380,"wires":[["698e329cc6caa517"]]},{"id":"abf0b1bf7b8ff7a9","type":"debug","z":"e6db211287369afe","g":"73d4a867c162a3dc","name":"debug 60","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":780,"y":1420,"wires":[]},{"id":"698e329cc6caa517","type":"function","z":"e6db211287369afe","g":"73d4a867c162a3dc","name":"NOW","func":"msg.now = new Date();\n\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":330,"y":1380,"wires":[["61539d57cedf7285","e7cbd9bb85fa42c3"]]},{"id":"61539d57cedf7285","type":"moment","z":"e6db211287369afe","g":"73d4a867c162a3dc","name":"","topic":"","input":"payload","inputType":"msg","inTz":"ETC/UTC","adjAmount":0,"adjType":"days","adjDir":"add","format":"ddd, HH:MM:SS DD-MMM-YY","locale":"en-GB","output":"nowTime","outputType":"msg","outTz":"Europe/London","x":380,"y":1420,"wires":[["818623f95736c9e4","abf0b1bf7b8ff7a9"]]},{"id":"6ddb5cfe35a430e6","type":"global-config","env":[],"modules":{"node-red-contrib-moment":"5.0.0"}}]
This is the result in a Debug node
Can anyone please explain why there is a difference between the Input and the Output which is not the straight HOUR difference I would expect when converting from UTC to Europe/London.
msg.payload and msg.now are within tolerance, msg.nowTime is out (but in the correct format!)!
TIA


