From: Greg Burri Date: Thu, 18 Mar 2021 09:58:16 +0000 (+0100) Subject: Uptime a bit more readable X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=d16870d03f1e374c4e65bb9e1570ba092df21c21;p=valheim_web.git Uptime a bit more readable --- diff --git a/backend/src/valheim_controller.rs b/backend/src/valheim_controller.rs index 72eb60e..f11f7f4 100644 --- a/backend/src/valheim_controller.rs +++ b/backend/src/valheim_controller.rs @@ -30,7 +30,7 @@ impl ValheimExe { let mins = self.uptime / 60; let hours = mins / 60; let days = hours / 24; - format!("{}d{}h{}min", days, hours - 24 * days, mins - 60 * hours) + format!("{}d {}h {}min", days, hours - 24 * days, mins - 60 * hours) } pub fn format_world_size(&self) -> String {