fix (stats): Fix time formatting issue.
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user