diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-06-03 19:12:32 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-06-03 19:12:32 +0000 |
commit | 5c1fe0e544a90d499c8d1091f6259ef913214c3b (patch) | |
tree | 7388db2736a30a7ff8e123242109a85da66a3bb5 | |
parent | 71449d76e71db089dfb158710057aecba7de8a59 (diff) |
* luci/core: util.lua: implement min(utes) in parse_units()
-rw-r--r-- | libs/core/luasrc/util.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/core/luasrc/util.lua b/libs/core/luasrc/util.lua index 6b474f6f2..074b43519 100644 --- 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, |