From c47170b3453a37b52a02e6f43d1f54da72db07f0 Mon Sep 17 00:00:00 2001 From: Jens Rossbach Date: Sat, 29 Jun 2024 10:56:28 +0200 Subject: [PATCH 1/2] Fix inconsistent translation of time part in status text --- nodes/common/chronos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/common/chronos.js b/nodes/common/chronos.js index 9601a9b..835b18a 100644 --- a/nodes/common/chronos.js +++ b/nodes/common/chronos.js @@ -154,7 +154,6 @@ function getTimeFrom(node, source) } ret.locale(node.locale); - return ret; } @@ -215,6 +214,7 @@ function getUserTime(RED, node, day, value, timeOnly = false) throw new TimeError(RED._("node-red-contrib-chronos/chronos-config:common.error.invalidTime"), {type: "time", value: value}); } + ret.locale(node.locale); return ret; } From d2ffc4faa78b97419c5cbe01ba7ea2fcbe7cd23d Mon Sep 17 00:00:00 2001 From: Jens Rossbach Date: Sat, 29 Jun 2024 11:08:45 +0200 Subject: [PATCH 2/2] Updates for release v1.25.1 --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 0bd5255..599603d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-chronos", - "version": "1.25.0", + "version": "1.25.1", "description": "Time-based Node-RED scheduling, repeating, queueing, routing, filtering and manipulating nodes", "author": { "name": "Jens-Uwe Rossbach", @@ -49,10 +49,10 @@ "suncalc": "^1.9.0" }, "devDependencies": { - "eslint": "^9.5.0", + "eslint": "^9.6.0", "jsonata": "^2.0.5", - "mocha": "^10.4.0", - "node-red": "^3.1.10", + "mocha": "^10.5.2", + "node-red": "^4.0.1", "node-red-node-test-helper": "^0.3.4", "nyc": "^17.0.0", "should": "^13.2.3",