make sure that CreateTimeEntry modal always starts with times that have 0 seconds

This commit is contained in:
Gregor Vostrak
2025-11-12 18:19:27 +01:00
parent 306a081a3d
commit 95ab1699c4

View File

@@ -61,8 +61,8 @@ const timeEntryDefaultValues = {
task_id: null, task_id: null,
tags: [], tags: [],
billable: false, billable: false,
start: getDayJsInstance().utc().subtract(1, 'h').format(), start: getDayJsInstance().utc().subtract(1, 'h').second(0).format(),
end: getDayJsInstance().utc().format(), end: getDayJsInstance().utc().second(0).format(),
}; };
const timeEntry = ref({ const timeEntry = ref({