Make time played output nicer #34
Labels
No labels
bug
dependabot
dependencies
documentation
duplicate
enhancement
go
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forquare/Manaha-Minder#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently we use time.Duration to "nicely" print the time played per player:
But as you can see, 382 hours doesn't really mean anything (it's almost 16 days, fyi).
Since we don't store anything as time.Duration (it's all measured in seconds), write a small utility to better format the time played.