refactor(time-tracking): drop the now-redundant duration clamp in the entry list

This commit is contained in:
kolaente
2026-06-08 15:40:04 +02:00
committed by kolaente
parent 0bd7f956f5
commit 00bbdbf95b

View File

@@ -182,7 +182,7 @@ watch(() => props.entries, entries => {
function entrySeconds(entry: ITimeEntry): number {
const end = entry.endTime ?? new Date()
return Math.max(0, Math.floor((end.getTime() - entry.startTime.getTime()) / 1000))
return Math.floor((end.getTime() - entry.startTime.getTime()) / 1000)
}
const rows = computed(() => props.entries.map(entry => {