Skip to content

Commit

Permalink
0 pad seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
hilli committed Feb 10, 2024
1 parent 96a3deb commit c92383e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kefw2/player_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ func (p PlayerResource) String() string {
inSeconds := p.Duration / 1000
minutes := inSeconds / 60
seconds := inSeconds % 60
str := fmt.Sprintf("%d:%d", minutes, seconds)
str := fmt.Sprintf("%d:%02d", minutes, seconds)
return str
}

0 comments on commit c92383e

Please sign in to comment.