From: Jo-Philipp Wich Date: Tue, 3 Jun 2008 19:12:32 +0000 (+0000) Subject: * luci/core: util.lua: implement min(utes) in parse_units() X-Git-Tag: 0.8.0~899 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=5c1fe0e544a90d499c8d1091f6259ef913214c3b * luci/core: util.lua: implement min(utes) in parse_units() --- 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,