1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
Dave Conway-Jones
0342a4b7ae
better fix for handling of high latitudes
to close #1002 again
2023-05-28 09:58:12 +01:00
Dave Conway-Jones
ddaa9b24b8
let timeswitch handle high latitudes better
to close #1002
2023-05-27 19:40:19 +01:00
Dave Conway-Jones
f7f313c197
Fix timeswitch status to show time in timezone set in the properties
and bump library
2023-01-19 09:34:28 +00:00
J.D. Mallen
29e0bed000
Address incorrect timestamps bug in node-red-node-timeswitch; increase readability (#945)
* Initial fixes before testing and reformatting

* Put sun event offset back in; reformat

* Tabs to spaces

* Fix "Start+X" OFF time; add more comments

* Undo some formatting changes

* Add contributors to package.json
2022-08-23 14:31:18 +01:00
Dave Conway-Jones
ecb2849675
timeswitch, fix display status to local timezone.
to close #944
2022-08-22 10:27:49 +01:00
Pablo Acosta-Serafini
d69da74843
timeswitch node: time zone support; do not mark as misconfigured when sunrise/sunset not used and lat/lon not given (#757)
* timeswitch node: a) do not mark node as misconfigured if sunrise and
sunset are not used and latitude/longitude are not given. b) support for
specifying time zone when on and/or off times are not specified as
sunrise and/or sunset.

* Replaced moment dependency with spacetime

* Timezone defaults to UTC for compatibility with previous node version
2021-02-26 14:38:28 +00:00
Dave Conway-Jones
316a2fd272 Re-lint a load of nodes 2017-01-29 17:45:44 +00:00
Dave Conway-Jones
a7247e898a Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
Dave Conway-Jones
b33571b240 correct output for timeswitch
(simple typo)
Also tidied up info etc…
push to close #176
2016-02-15 11:12:29 +00:00
Dave Conway-Jones
08ddfac83c fix ternary assignment in timeswitch. 2015-11-03 19:21:12 +00:00
Dave Conway-Jones
805287cad9 Initial push of timeswitch node 2015-11-02 17:24:27 +00:00