Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: marcin mikołajczak <me@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-04-28 18:56:10 +00:00 committed by HJ
parent 6ff0a7f021
commit 4de9daa114
1 changed files with 2 additions and 0 deletions

View File

@ -421,6 +421,8 @@ const Status = {
let multiplier = 60 * 1000 // minutes is smallest unit let multiplier = 60 * 1000 // minutes is smallest unit
switch (unit) { switch (unit) {
case 'm': case 'm':
break
case 'h':
multiplier *= 60 // hour multiplier *= 60 // hour
break break
case 'd': case 'd':