projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* luci/core: util.lua: implement min(utes) in parse_units()
[project/luci.git]
/
libs
/
core
/
luasrc
/
util.lua
diff --git
a/libs/core/luasrc/util.lua
b/libs/core/luasrc/util.lua
index
6b474f6
..
074b435
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,