Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: marcin mikołajczak <me@mkljczk.pl>
This commit is contained in:
parent
6ff0a7f021
commit
4de9daa114
|
@ -421,6 +421,8 @@ const Status = {
|
|||
let multiplier = 60 * 1000 // minutes is smallest unit
|
||||
switch (unit) {
|
||||
case 'm':
|
||||
break
|
||||
case 'h':
|
||||
multiplier *= 60 // hour
|
||||
break
|
||||
case 'd':
|
||||
|
|
Loading…
Reference in New Issue