Skip to content

Commit

Permalink
Remove minute value
Browse files Browse the repository at this point in the history
It was used for debug previously and I forgot to remove it.
  • Loading branch information
saxicek committed Sep 22, 2024
1 parent ea819a9 commit 0cbabea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/time.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 0cbabea

Please sign in to comment.