From 50f78807916517559fc3df04ccd5a588aa470d72 Mon Sep 17 00:00:00 2001 From: "J.D. Mallen" Date: Mon, 22 Aug 2022 20:59:44 -0400 Subject: [PATCH] Fix "Start+X" OFF time; add more comments --- time/timeswitch/timeswitch.js | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/time/timeswitch/timeswitch.js b/time/timeswitch/timeswitch.js index 8aa20a60..b2fcdacf 100644 --- a/time/timeswitch/timeswitch.js +++ b/time/timeswitch/timeswitch.js @@ -76,6 +76,7 @@ module.exports = function (RED) { const currentTimeZone = now.timezone(); const selectedTimeZone = spacetime(now.epoch, this.timezone.toLowerCase()).timezone(); + // handler function to convert minute strings (from