I just verified this (in OSX)
- in terminal, start NR
- create a simple flow (attached below) - an inject to two change nodes - each change node to a seperate debug node
- set one change node to use a flow variable the other uses a global variable.
- deploy and press the inject and use the 'context data' to examine the contents.
- as soon as you see the timestamp in the context data, press the inject again and then swap to the terminal and press CTRL-C
If you go edit .node-red/context/global/flobal.json you will see the contents which you can compare against the debug. Here is what I see:
HERE SI THE FLOW:
[{"id":"78088df5.2fd3b4","type":"inject","z":"488e1c5.d552c64","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":140,"y":200,"wires":[["54316793.93ec58","ecf6671d.852d8"]]},{"id":"54316793.93ec58","type":"change","z":"488e1c5.d552c64","name":"","rules":[{"t":"set","p":"timestamp","pt":"global","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":180,"wires":[["38182ee9.bf1872"]]},{"id":"ecf6671d.852d8","type":"change","z":"488e1c5.d552c64","name":"","rules":[{"t":"set","p":"timestamp","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":240,"wires":[["35e6ac92.ee3d14"]]},{"id":"38182ee9.bf1872","type":"debug","z":"488e1c5.d552c64","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":680,"y":140,"wires":[]},{"id":"35e6ac92.ee3d14","type":"debug","z":"488e1c5.d552c64","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":670,"y":260,"wires":[]}]