mirror of
https://github.com/meshtastic/meshtastic.git
synced 2025-01-26 05:01:38 -08:00
add tzdef
This commit is contained in:
parent
f3d9442be3
commit
0287221e3b
|
@ -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