summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model
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-full/luasrc/model
parentcd33263aed27b0a962424237d8abb611748caf20 (diff)
* luci/modules/admin-{mini,full}: allow custom values in timezone selection
Diffstat (limited to 'modules/admin-full/luasrc/model')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_system/system.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
index 9967ce933a..e0e2b1cbce 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
@@ -48,7 +48,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 "+")