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:
71449d7
)
* luci/core: util.lua: implement min(utes) in parse_units()
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 3 Jun 2008 19:12:32 +0000
(19:12 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 3 Jun 2008 19:12:32 +0000
(19:12 +0000)
libs/core/luasrc/util.lua
patch
|
blob
|
history
diff --git
a/libs/core/luasrc/util.lua
b/libs/core/luasrc/util.lua
index 6b474f6f2dc9d2b35029acf96fa3805212f4a439..074b43519a88d0f88d76adc5a16d9c8f1619609b 100644
(file)
--- a/
libs/core/luasrc/util.lua
+++ b/
libs/core/luasrc/util.lua
@@
-303,6
+303,7
@@
function parse_units(ustr)
w = 60 * 60 * 24 * 7,
d = 60 * 60 * 24,
h = 60 * 60,
+ min = 60,
-- storage sizes
kb = 1024,