diff options
Diffstat (limited to 'modules/admin-mini')
-rw-r--r-- | modules/admin-mini/luasrc/model/cbi/mini/system.lua | 2 |
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 06064f95e..298c794f5 100644 --- a/modules/admin-mini/luasrc/model/cbi/mini/system.lua +++ b/modules/admin-mini/luasrc/model/cbi/mini/system.lua @@ -23,7 +23,7 @@ s:option(Value, "hostname", translate("hostname")) tz = s:option(ListValue, "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 "+") + local osgn = (offset >= 0 and "" or "+") local ohrs = math.floor(-offset / 3600) local omin = (offset % 3600) / 60 |