Hello, is there a way to change these history messages into 12 hour (AM/PM) time format?
I've searched for a solution to this and see a lot of people struggling to input time, but I am just trying to display time in 12 hour format. I live in USA and my browser and computer are all set to 12 hour format, but I can't find any setting for this in Node-RED.
It would help to know what node you are using, but since that is a status message I would assume that this is something that is controled by te node itself. You might want to ask the node's author on the node's GitHub page.
I installed Node-RED from within Home Assistant.
Here is a 38 second recording of me making a sequence with the issue: https://youtu.be/zbvwaGd9-LA
Below is the code of what I created in the clip above.
Yep - so drap one of these nodes onto the palette and then go over to the help/doc on the right hand side and see what the usage is and who the author is.
These are custom nodes that the Home Assistant implementation of NR includes - not standard nodes
Sorry I figured they were default because they came with the installation in HA and I didn't add them.
The link above explains a little more about the call service node but doesn't explain anything about contorting the time format. Is there a different place I should ask this question?
I'm little confused why something so basic isn't controlled by a simple toggle switch or checkbox somewhere.
You are probably best off opening a feature request on their github page:
Options for formatting the node status is not something that you will find on many nodes if any as that status is really just a nice to have features for quick glance information while developing.
Design wise the paradigm here is that the flow editor is not a dashboard and its also good practice not to overload a nodes ui with too many options.
For showing information exactly like you want it the information is probably also included as a timestamp in the nodes output messages as a property and you could format that output yourself to show it in the nodered dashboard in your wanted format.
No problem - you are not actually using the default HA nodes i believe you are using the Community Websocket Add on (may be wrong here) - if you look on the link i provided there is a link to their github page and you can open an issue on there