From cce54f99371999230a259b027a2953ed9c036b2a Mon Sep 17 00:00:00 2001 From: Zamitto Date: Wed, 1 May 2024 17:44:06 -0300 Subject: [PATCH] feat: show decimal part of hour --- src/renderer/src/pages/game-details/hero-panel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/pages/game-details/hero-panel.tsx b/src/renderer/src/pages/game-details/hero-panel.tsx index 3fc4a4b32..826142ef4 100644 --- a/src/renderer/src/pages/game-details/hero-panel.tsx +++ b/src/renderer/src/pages/game-details/hero-panel.tsx @@ -66,7 +66,7 @@ export function HeroPanel({ } const hours = minutes / 60 - return hours.toFixed(0) + " " + t("hours") + return hours.toFixed(1) + " " + t("hours") } const finalDownloadSize = useMemo(() => {