From e06b19acbd62a46c43dde803c54e3a744bea1584 Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 2 Jul 2022 14:16:02 +0200 Subject: [PATCH] helpers: a day has 24 hours... --- helpers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers.lua b/helpers.lua index 2de5398..a75b7de 100644 --- a/helpers.lua +++ b/helpers.lua @@ -266,10 +266,10 @@ ShaguTweaks.TimeConvert = function(remaining) return color..ceil(remaining) elseif remaining < 3600 then return color..ceil(remaining/60).."m" - elseif remaining < 43200 then + elseif remaining < 86400 then return color..ceil(remaining/3600).."h" else - return color..ceil(remaining/43200).."d" + return color..ceil(remaining/86400).."d" end end