fix (rooms): Show hour/minute not minute/second.

This commit is contained in:
2021-09-27 22:20:23 +03:00
parent ebeb3bec7a
commit 20e3d4efe0

View File

@@ -461,8 +461,8 @@ async def cmd_rooms(ctx):
(attended_count * 100) / total_count, (attended_count * 100) / total_count,
), ),
"Time": "**{:02}:{:02}** spent in accountability rooms.".format( "Time": "**{:02}:{:02}** spent in accountability rooms.".format(
total_duration // 60, total_duration // 3600,
total_duration % 60 total_duration % 3600
), ),
"Streak": "**{}** day{} with no missed sessions! (Longest: **{}** day{}.)".format( "Streak": "**{}** day{} with no missed sessions! (Longest: **{}** day{}.)".format(
current_streak, current_streak,