Fix time delta format
This commit is contained in:
parent
31b3f715e0
commit
ba9c5d38cc
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ def format_time_delta(delta):
|
|||
|
||||
if delta >= hour:
|
||||
result += f"{delta//hour}h "
|
||||
delta = delta%day
|
||||
delta = delta%hour
|
||||
|
||||
if delta >= minute:
|
||||
result += f"{delta//minute}m "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue