add support for HH:mm:ss format for input time fields

This commit is contained in:
Gregor Vostrak
2025-10-22 13:28:09 +02:00
parent f8f708a664
commit 9fe0ea5a0f
3 changed files with 20 additions and 12 deletions

View File

@@ -56,7 +56,7 @@ const currentTime = computed({
});
function updateTimerAndStartLiveTimerUpdate() {
const { seconds } = parseTimeInput(temporaryCustomTimerEntry.value, 'minutes');
const seconds = parseTimeInput(temporaryCustomTimerEntry.value, 'minutes');
if (seconds && seconds > 0) {
const newStartDate = dayjs().subtract(seconds, 's');