]> git.earman.xyz Git - sensor-watch.git/commit
Merge PR #268 - add daylight savings time toggle
authorMatheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Sun, 8 Sep 2024 14:09:10 +0000 (11:09 -0300)
committerMatheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Sun, 8 Sep 2024 14:09:10 +0000 (11:09 -0300)
commit5a8a49a8c77d6d5ba0f46f0e5b51dec2daba46db
treef02b779cd7b05857a0f7e2fbecbdbb367410f7fb
parentbfadb81e82dfe47c4445ce7978d9dbc3b4706808
parent52f9500666a10dfa3d45288749d5edcae1d5b211
Merge PR #268 - add daylight savings time toggle

Adds a toggle in the preferences face that allows the user
to enable or disable the daylight savings time.

Should help produce the correct results with the sunrise/sunset presets.

A proper solution would be to integrate the tzinfo database
but it's too big for the watch at the time of this writing.
Can't be done unless it can be shrunk down into a subset
the user would be interested. Even then it's a stopgap
since the database is likely to keep growing over time.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/268
movement/movement.c
movement/movement.h
movement/watch_faces/settings/set_time_face.c