Setting timezone in Openwrt from UTC offset value?

Any idea if I have the offset value (such as PDT is -7) is there anyway I can set the timezone from command prompt or via UCI some how?

It is uci system.zonename or /etc/config/system

You can set option 'zonename' to 'Etc/GMT+7'
and 'timezone' to '<-07>7'

(Zonename is only used by LuCI (and by zone info packages if you set those). Otherwise by default the musl C lib uses the timezone option string.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.