mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
* luci-0.8: merge r3727
This commit is contained in:
@@ -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 "+")
|
||||
|
||||
@@ -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 "+")
|
||||
|
||||
Reference in New Issue
Block a user