Make deadline minutes integer instead of rounded float
This commit is contained in:
parent
b5202a9de6
commit
749012140b
1 changed files with 1 additions and 1 deletions
|
@ -64,5 +64,5 @@ def remaining_minutes(value) -> str:
|
|||
delta = value - datetime.now()
|
||||
if delta.total_seconds() < 0:
|
||||
return "0"
|
||||
minutes = delta.total_seconds() // 60
|
||||
minutes = int(delta.total_seconds() // 60)
|
||||
return f"{minutes:02}"
|
||||
|
|
Loading…
Reference in a new issue