1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 16:55:29 +03:00

Change tz_offset min and max

The current min and max for `tz_offset` is 1440, or 24 hours. The actual min and max for UTC is -12 hours (-720) and +14 hours (840). This PR uses the UTC values as the actual min and max offsets.
This commit is contained in:
Darren Lines 2022-10-17 19:55:52 +01:00
parent 3aaa964458
commit c84ef4003c
2 changed files with 3 additions and 3 deletions

View file

@ -5778,7 +5778,7 @@ Time zone offset from UTC, in minutes. This is applied to the GPS time for loggi
| Default | Min | Max |
| --- | --- | --- |
| 0 | -1440 | 1440 |
| 0 | -720 | 840 |
---

View file

@ -3687,8 +3687,8 @@ groups:
- name: tz_offset
description: "Time zone offset from UTC, in minutes. This is applied to the GPS time for logging and time-stamping of Blackbox logs"
default_value: 0
min: -1440
max: 1440
min: -720
max: 840
- name: tz_automatic_dst
description: "Automatically add Daylight Saving Time to the GPS time when needed or simply ignore it. Includes presets for EU and the USA - if you live outside these areas it is suggested to manage DST manually via `tz_offset`."
default_value: "OFF"