summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-11-06 14:53:13 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-11-06 14:53:13 +0000
commit16bb2907a2c85ffe477736cf1a1585bdcf9d264d (patch)
tree91ca9d59e1b5da5e45632d0a29f0387af0f8e533 /modules/admin-mini
parentcd33263aed27b0a962424237d8abb611748caf20 (diff)
* luci/modules/admin-{mini,full}: allow custom values in timezone selection
Diffstat (limited to 'modules/admin-mini')
-rw-r--r--modules/admin-mini/luasrc/model/cbi/mini/system.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/system.lua b/modules/admin-mini/luasrc/model/cbi/mini/system.lua
index c9e8c7f6f..a1ed1282c 100644
--- a/modules/admin-mini/luasrc/model/cbi/mini/system.lua
+++ b/modules/admin-mini/luasrc/model/cbi/mini/system.lua
@@ -55,7 +55,7 @@ s:option(DummyValue, "_uptime", translate("m_i_uptime")).value =
s:option(Value, "hostname", translate("hostname"))
-tz = s:option(ListValue, "timezone", translate("timezone"))
+tz = s:option(Value, "timezone", translate("timezone"))
for k, offset in luci.util.vspairs(luci.http.protocol.date.TZ) do
local zone = k:upper()
local osgn = (offset >= 0 and "" or "+")