Skip to content

Commit

Permalink
~fix span time format minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
ablizorukov committed May 18, 2023
1 parent 2667242 commit 0a361e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private List<string> RenderLines(GroupedGameResult[] games, SteamGameCategory[]
var lines = games.Select(
(g, i) =>
{
var avgTime = TimeSpan.FromSeconds(g.TotalSeconds.Average()).ToString(@"dd\d\ hh\h\ mm\s");
var avgTime = TimeSpan.FromSeconds(g.TotalSeconds.Average()).ToString(@"dd\d\ hh\h\ mm\m");
return $"{i + 1}. {g.Name}, count: {g.Count}, avg time: {avgTime} ({string.Join(",", g.PlayerNames)})";
}).ToArray();

Expand Down

0 comments on commit 0a361e7

Please sign in to comment.