mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-26 22:19:46 -08:00
Merge pull request #1311 from meshtastic/rcarteraz-patch-3
Add `tzdef` to Device Config
This commit is contained in:
commit
2d96bccfce
|
@ -81,6 +81,12 @@ Acceptable values: `true` or `false`
|
|||
|
||||
Disabling this will disable the SerialConsole by not initializing the StreamAPI.
|
||||
|
||||
## TZDEF (Timezone Definition)
|
||||
|
||||
The `tzdef` setting allows the local offset to be defined for the device. It uses the TZ Database format to display the correct local time on the device display and in its logs.
|
||||
|
||||
To set the timezone, use the POSIX TZ Database string for the relevant region. Here is a list of [supported timezones](https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv).
|
||||
|
||||
## Debug Log
|
||||
|
||||
Acceptable values: `true` or `false`
|
||||
|
@ -181,6 +187,10 @@ meshtastic --set device.role CLIENT
|
|||
meshtastic --set device.serial_enabled false
|
||||
```
|
||||
|
||||
```shell title="Set `tzdef`"
|
||||
meshtastic --set device.tzdef UTC0
|
||||
```
|
||||
|
||||
```shell title="Enable debug logging"
|
||||
meshtastic --set device.debug_log_enabled true
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue