From 0287221e3bdef674c1691c7ce3acfbf82da2d037 Mon Sep 17 00:00:00 2001 From: rcarteraz Date: Sun, 23 Jun 2024 17:02:09 -0700 Subject: [PATCH] add tzdef --- docs/configuration/radio/device.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/configuration/radio/device.mdx b/docs/configuration/radio/device.mdx index f828209a..b88d9c1b 100644 --- a/docs/configuration/radio/device.mdx +++ b/docs/configuration/radio/device.mdx @@ -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 ```