From 0cbabeab13c3d4b91c2adb99bd4e5e85bc7bfed1 Mon Sep 17 00:00:00 2001 From: sax Date: Sun, 22 Sep 2024 22:43:00 +0200 Subject: [PATCH] Remove minute value It was used for debug previously and I forgot to remove it. --- src/app/time.pipe.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/time.pipe.ts b/src/app/time.pipe.ts index 93d9c9f..9b3f219 100644 --- a/src/app/time.pipe.ts +++ b/src/app/time.pipe.ts @@ -8,7 +8,7 @@ export function time(value: number | undefined): string { if (!value) return ''; const minutes = value % 60; const hours = (value - minutes) / 60; - return value ? `${hours}:${String(minutes).padStart(2, '0')} (${value})` : value.toFixed(2); + return value ? `${hours}:${String(minutes).padStart(2, '0')}` : value.toFixed(2); } @Pipe({