| # node-red-contrib-boolean-logic-ultimate | # node-red-contrib-boolean-logic-ultimate | ||||
| <p> | <p> | ||||
| <b>Version 1.0.6</b><br/> | |||||
| - Stripped out the date/time in node status<br/> | |||||
| </p> | |||||
| <p> | |||||
| <b>Version 1.0.5</b><br/> | <b>Version 1.0.5</b><br/> | ||||
| - Added the Last value change date/time in the status.<br/> | - Added the Last value change date/time in the status.<br/> | ||||
| - Correction in the in-line help<br/> | - Correction in the in-line help<br/> |
| function setNodeStatus({fill, shape, text}) | function setNodeStatus({fill, shape, text}) | ||||
| { | { | ||||
| node.status({fill: fill,shape: shape,text: text + " (Last " + new Date().toLocaleString() + ")"}) | |||||
| var dDate = new Date(); | |||||
| node.status({fill: fill,shape: shape,text: text + " (" + dDate.getDate() + ", " + dDate.toLocaleTimeString() + ")"}) | |||||
| } | } | ||||
| function CalculateResult(_operation) { | function CalculateResult(_operation) { |
| function setNodeStatus({fill, shape, text}) | function setNodeStatus({fill, shape, text}) | ||||
| { | { | ||||
| node.status({fill: fill,shape: shape,text: text + " (Last " + new Date().toLocaleString() + ")"}) | |||||
| var dDate = new Date(); | |||||
| node.status({fill: fill,shape: shape,text: text + " (" + dDate.getDate() + ", " + dDate.toLocaleTimeString() + ")"}) | |||||
| } | } | ||||
| function setNodeStatus({fill, shape, text}) | function setNodeStatus({fill, shape, text}) | ||||
| { | { | ||||
| node.status({fill: fill,shape: shape,text: text + " (Last " + new Date().toLocaleString() + ")"}) | |||||
| var dDate = new Date(); | |||||
| node.status({fill: fill,shape: shape,text: text + " (" + dDate.getDate() + ", " + dDate.toLocaleTimeString() + ")"}) | |||||
| } | } | ||||
| } | } |
| { | { | ||||
| "name": "node-red-contrib-boolean-logic-ultimate", | "name": "node-red-contrib-boolean-logic-ultimate", | ||||
| "version": "1.0.5", | |||||
| "version": "1.0.6", | |||||
| "description": "A set of Node-RED enhanced boolean logic, with persisten values after reboot and more", | "description": "A set of Node-RED enhanced boolean logic, with persisten values after reboot and more", | ||||
| "author": "Supergiovane (https://github.com/Supergiovane)", | "author": "Supergiovane (https://github.com/Supergiovane)", | ||||
| "dependencies": { | "dependencies": { |