From 5c1fe0e544a90d499c8d1091f6259ef913214c3b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 3 Jun 2008 19:12:32 +0000 Subject: * luci/core: util.lua: implement min(utes) in parse_units() --- libs/core/luasrc/util.lua | 1 + 1 file changed, 1 insertion(+) 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, -- cgit v1.2.3