Skip to content

Commit

Permalink
feat: show decimal part of hour
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamitto committed May 1, 2024
1 parent f1c37a0 commit cce54f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/pages/game-details/hero-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit cce54f9

Please sign in to comment.