From d16870d03f1e374c4e65bb9e1570ba092df21c21 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Thu, 18 Mar 2021 10:58:16 +0100 Subject: [PATCH] Uptime a bit more readable --- backend/src/valheim_controller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.45.2