From 9d0fd93822192d14626616ab100740ee80699317 Mon Sep 17 00:00:00 2001 From: Conatum Date: Wed, 8 Dec 2021 11:44:15 +0200 Subject: [PATCH] fix (stats): Fix time formatting issue. --- bot/modules/study/stats_cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/study/stats_cmd.py b/bot/modules/study/stats_cmd.py index dbd71302..67ecfa06 100644 --- a/bot/modules/study/stats_cmd.py +++ b/bot/modules/study/stats_cmd.py @@ -188,7 +188,7 @@ async def cmd_stats(ctx): # Set the description based on season time and server rank if season_time: - time_str = "**{}:{}**".format( + time_str = "**{}:{:02}**".format( season_time // 3600, (season_time // 60) % 60 )