node-red-contrib-eskomsepush 0.0.16 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-eskomsepush",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "Node-RED interface for the Eskomsepush API",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -290,7 +290,7 @@ module.exports = function (RED) {
290
290
  statusText += ' - ' + new Date(EskomSePushInfo.calc.end).toLocaleTimeString([], { timeStyle: 'short' })
291
291
  }
292
292
  } else {
293
- if (new Date(EskomSePushInfo.calc.next.start).getUTCDay() !== now.getUTCDate) {
293
+ if (new Date(EskomSePushInfo.calc.next.start).getUTCDay() !== now.getUTCDate()) {
294
294
  statusText += new Date(EskomSePushInfo.calc.next.start).toLocaleString([], { weekday: 'short' }) + ' '
295
295
  }
296
296
  statusText += new Date(EskomSePushInfo.calc.next.start).toLocaleTimeString([], { timeStyle: 'short' })