From a47a97e9bd99b74a93647a8fe9b1b16a667a41cd Mon Sep 17 00:00:00 2001 From: yaroot Date: Tue, 11 Oct 2011 15:57:23 +0800 Subject: [PATCH] Use modf return mod time --- oUF_RaidDebuffs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oUF_RaidDebuffs.lua b/oUF_RaidDebuffs.lua index 7611b7c..5081514 100644 --- a/oUF_RaidDebuffs.lua +++ b/oUF_RaidDebuffs.lua @@ -149,7 +149,7 @@ local formatTime = function(s) if s > 60 then return format('%dm', s/60), s%60 else - return format('%d', s), s - floor(s) + return math.modf(s) end end -- 1.7.9.5