From 6f0d076d80b3463519a277665fb3c487e70a26db Mon Sep 17 00:00:00 2001 From: Kainoa Kanter Date: Wed, 8 Oct 2025 17:46:45 -0700 Subject: [PATCH] spaces in uptime --- Commons/Time.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Commons/Time.qml b/Commons/Time.qml index 9c01cc96..16dbfdca 100644 --- a/Commons/Time.qml +++ b/Commons/Time.qml @@ -41,7 +41,7 @@ Singleton { return `${year}${month}${day}-${hours}${minutes}${seconds}` } - // Format an easy to read approximate duration ex: 4h32m + // Format an easy to read approximate duration ex: 4h 32m // Used to display the time remaining on the Battery widget, computer uptime, etc.. function formatVagueHumanReadableDuration(totalSeconds) { if (typeof totalSeconds !== 'number' || totalSeconds < 0) { @@ -69,7 +69,7 @@ Singleton { parts.push(`${seconds}s`) } - return parts.join('') + return parts.join(' ') } // Format a date into