(NOT the GUI one)
This is the code:
[{"id":"46f61a5c.0b4104","type":"inject","z":"280a6f57.28406","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":110,"y":700,"wires":[["8cac52a0.8785c"]]},{"id":"8cac52a0.8785c","type":"moment","z":"280a6f57.28406","name":"","topic":"","input":"","inputType":"msg","inTz":"Australia/Sydney","adjAmount":0,"adjType":"days","adjDir":"add","format":"DD/MM/YY","locale":"en_AU","output":"","outputType":"msg","outTz":"Australia/Sydney","x":330,"y":700,"wires":[["660ee550.29552c"]]},{"id":"660ee550.29552c","type":"change","z":"280a6f57.28406","name":"Position","rules":[{"t":"set","p":"x","pt":"msg","to":"x","tot":"flow"},{"t":"set","p":"y","pt":"msg","to":"2","tot":"num"},{"t":"set","p":"separator","pt":"msg","to":"separator","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":120,"y":790,"wires":[["6917a797.4f08a8"]]},{"id":"6917a797.4f08a8","type":"string","z":"280a6f57.28406","name":"","methods":[],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":310,"y":790,"wires":[["f68e0e37.99ddf","2f55bb51.91bc84"]]},{"id":"f68e0e37.99ddf","type":"debug","z":"280a6f57.28406","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":420,"y":840,"wires":[]},{"id":"2f55bb51.91bc84","type":"template","z":"280a6f57.28406","name":"Template","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{{x}},{{y}}{{separator}}{{payload}}","output":"str","x":500,"y":790,"wires":[["4c369444.93aa04","fcc95cd.d2b51a"]]},{"id":"4c369444.93aa04","type":"link out","z":"280a6f57.28406","name":"","links":["81758ae7.d5bd6"],"x":605,"y":790,"wires":[]},{"id":"fcc95cd.d2b51a","type":"debug","z":"280a6f57.28406","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":630,"y":740,"wires":[]}]
I want to get the date go through the template
node.
Going in I see:
27/07/20
Coming out:
(given the flow
values are set)
5,2@27/07/20
5 = x
2 = y
@ = separator
The /
is being turned into .... /
Which I guess is the hex code for the /
.
Sorry to ask the dumb question.