Added new beta server list ui and added days to uptime formatter

This commit is contained in:
Marcel Baumgartner
2023-05-26 15:18:59 +02:00
parent ca05f105cf
commit 800f9fbb50
2 changed files with 150 additions and 25 deletions

View File

@@ -8,7 +8,7 @@ public static class Formatter
{
TimeSpan t = TimeSpan.FromMilliseconds(uptime);
return $"{t.Hours}h {t.Minutes}m {t.Seconds}s";
return $"{t.Days}d {t.Hours}h {t.Minutes}m {t.Seconds}s";
}
private static double Round(this double d, int decimals)