-
Notifications
You must be signed in to change notification settings - Fork 3.8k
The displayed value differs from the acquired value. #5345
Description
Current Behavior
" The 'Debug' tab has the functionality to switch data types.
However, the copied value is always the same.
For example, the time stamp data from the 'Inject Node' can be displayed in ISO format, but the copied data uses the UNIX time format.
Expected Behavior
Node-RED users expect to see the same data displayed in the 'Debug' tab. If the 'debug tab' contains ISO-formatted data, this should be copied.

Steps To Reproduce
-
"Inject node" and "debug node" connect as shown in the picture
-
Click the button on the left of "inject Node".
-
Open the debug tab.
-
Click on 'msg.payload.number'.
-
You can switches of The payload's value.
6.You copied by copy button "clipboard data"
Example flow
[
{
"id": "66ab8e8e65030d10",
"type": "debug",
"z": "b2832368d2d6c9f4",
"name": "debug 1",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1080,
"y": 80,
"wires": []
},
{
"id": "2952f37a4cc22375",
"type": "inject",
"z": "b2832368d2d6c9f4",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 920,
"y": 80,
"wires": [
[
"66ab8e8e65030d10"
]
]
}
]
Environment
- Node-RED version: v4.1.1
- Node.js version: v20.19.5
- npm version: 11.6.2
- Platform/OS: Linux
- Browser: Windows