Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
[fix] Possible bug with TimeUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT2 committed Dec 28, 2020
1 parent 84c7c46 commit d1bd3d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/org/kamiblue/botkt/utils/TimeUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ fun formatDuration(durationMillis: Long, displaySeconds: Boolean = true): String

if (append || minute != 0L) {
append(grammar(minute, "minute"))
append = true
}

if (!append || displaySeconds) {
Expand Down

0 comments on commit d1bd3d8

Please sign in to comment.