fix (stats): Fix time formatting issue.

This commit is contained in:
2021-12-08 11:44:15 +02:00
parent b273ae0596
commit 9d0fd93822

View File

@@ -188,7 +188,7 @@ async def cmd_stats(ctx):
# Set the description based on season time and server rank # Set the description based on season time and server rank
if season_time: if season_time:
time_str = "**{}:{}**".format( time_str = "**{}:{:02}**".format(
season_time // 3600, season_time // 3600,
(season_time // 60) % 60 (season_time // 60) % 60
) )