GladysAssistant / Gladys

A privacy-first, open-source home assistant
https://gladysassistant.com
Apache License 2.0
2.69k stars 285 forks source link

Daylight saving time change is not reflected in Gladys #1917

Open Pierre-Gilles opened 1 year ago

Pierre-Gilles commented 1 year ago

Gladys keep the old hour in scene after a daylight saving time change. Restarting Gladys fixes the issue.

The issue comes from the node-schedule NPM library.

https://github.com/node-schedule/node-schedule/issues/435

https://github.com/node-schedule/node-schedule/issues/267

https://github.com/node-schedule/node-schedule/issues/34

We can either find a new library or try to fix this one

https://community.gladysassistant.com/t/gladys-nest-pas-passe-a-lheure-dhiver/8428

stale[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Pierre-Gilles commented 1 week ago

Node-schedule is unmaintained, one option would be to migrate to this library:

https://www.npmjs.com/package/croner

If anyone wants to help us here!