projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e30400
)
Fixed a typo
author
Steven Barth
<steven@midlink.org>
Sun, 17 Aug 2008 10:51:56 +0000
(10:51 +0000)
committer
Steven Barth
<steven@midlink.org>
Sun, 17 Aug 2008 10:51:56 +0000
(10:51 +0000)
modules/admin-core/luasrc/tools/webadmin.lua
patch
|
blob
|
history
diff --git
a/modules/admin-core/luasrc/tools/webadmin.lua
b/modules/admin-core/luasrc/tools/webadmin.lua
index fe725d42df906910d9d3991da4bc9f9f0799b509..1fda11eeaf432c46c5e2d9752c0b370e4e315611 100644
(file)
--- a/
modules/admin-core/luasrc/tools/webadmin.lua
+++ b/
modules/admin-core/luasrc/tools/webadmin.lua
@@
-45,7
+45,7
@@
function date_format(secs)
end
if hour > 24 then
- days = math.floor(hour
s
/ 24)
+ days = math.floor(hour / 24)
hour = hour % 24
end