diff --git a/plugins/tracker-resources/src/components/issues/timereport/TimePresenter.svelte b/plugins/tracker-resources/src/components/issues/timereport/TimePresenter.svelte
index 421feb17e1..17a182bae1 100644
--- a/plugins/tracker-resources/src/components/issues/timereport/TimePresenter.svelte
+++ b/plugins/tracker-resources/src/components/issues/timereport/TimePresenter.svelte
@@ -29,13 +29,13 @@
on:click
use:tooltip={{
component: Label,
- props: { label: tracker.string.TimeSpendHours, params: { value: floorFractionDigits(value, 1) } }
+ props: { label: tracker.string.TimeSpendHours, params: { value: floorFractionDigits(value, 2) } }
}}
>
{#if noSymbol}
- {floorFractionDigits(value, 1)}
+ {floorFractionDigits(value, 2)}
{:else if value > 0 && value < 8}
-
+
{:else}
{/if}
diff --git a/tests/sanity/tests/tracker.spec.ts b/tests/sanity/tests/tracker.spec.ts
index 64d266c905..abd90b2a60 100644
--- a/tests/sanity/tests/tracker.spec.ts
+++ b/tests/sanity/tests/tracker.spec.ts
@@ -133,7 +133,7 @@ function floorFractionDigits (n: number | string, amount: number): number {
function toTime (value: number): string {
if (value > 0 && value < 8) {
- return `${floorFractionDigits(value, 1)}h`
+ return `${floorFractionDigits(value, 2)}h`
} else {
return `${floorFractionDigits(value / 8, 3)}d`
}