-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic DST switching #29
Comments
Will have a look what's the best here. I know that e.g. https://github.com/nayarsystems/posix_tz_db provides a json file with all necessary data, which could be used via configTzTime() in the ClockDrv module. |
Implemented the possibility to use the POSIX timezone string. Currently there is no drop-down where to choose the timezone, but may come in the future. Currently the settings are generic, without exceptions in the corresponding HTML code. Have to think about how to integrate it there. |
Unfortunately the usage of timezone strings causes now in the SunrisePlugin a problem with the conversion from gmt to localtime. |
In order to be able to leave the clock running 24x7x365 without any maintenance, I suggest to implement automatic DST detection and switching.
Several options exist:
Using an external service
Reimplement: Putting a timezone JSON on the clock and allow selection of current TZ
Using a library to implement the switch
?
Check once an hour if DST has changed
The text was updated successfully, but these errors were encountered: