Merge PR #470 - implement automatic DST toggling
Implements logic to automatically offset daylight saving time settings when calculating timezone offsets. This should make the DST functions work automatically with no need for user input in most cases. Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com> GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/470
This commit is contained in:
@@ -111,4 +111,11 @@ const watch_face_t watch_faces[] = {
|
||||
#define MOVEMENT_DEFAULT_BIRTHDATE_MONTH 0
|
||||
#define MOVEMENT_DEFAULT_BIRTHDATE_DAY 0
|
||||
|
||||
/* Set if using DST
|
||||
* Valid values are:
|
||||
* false: Don't allow the watch to use DST
|
||||
* true: Allow the watch to use DST
|
||||
*/
|
||||
#define MOVEMENT_DEFAULT_DST_ACTIVE true
|
||||
|
||||
#endif // MOVEMENT_CONFIG_H_
|
||||
|
||||
Reference in New Issue
Block a user