Skip to content

Commit

Permalink
Merge pull request #978 from AmatorAVG/master
Browse files Browse the repository at this point in the history
Fix minutes representation in format_time_spent in models.py
  • Loading branch information
gwasser committed Oct 20, 2021
2 parents 7a4046b + 5538985 commit 3f24587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpdesk/models.py
Expand Up @@ -39,7 +39,7 @@ def format_time_spent(time_spent):
if time_spent:
time_spent = "{0:02d}h:{1:02d}m".format(
time_spent.seconds // 3600,
time_spent.seconds // 60
time_spent.seconds % 3600 // 60
)
else:
time_spent = ""
Expand Down

0 comments on commit 3f24587

Please sign in to comment.