From 908ac41a6c4f20ef81d876feee553d0dfb6a90df Mon Sep 17 00:00:00 2001 From: Tristan Michael Date: Wed, 1 Apr 2026 01:26:46 -0700 Subject: [PATCH] DateTimePicker: clear time and emit done on unset Users couldn't clear the time part of a task's due date because the "clear time" button only toggled includeTime=false without signalling the picker to finish. Call done() when clearing the time so the picker closes/emits the updated value, ensuring the task's has_time state is updated and the UI reflects a date-only value. --- apps/tauri/src/lib/components/DateTimePicker.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tauri/src/lib/components/DateTimePicker.svelte b/apps/tauri/src/lib/components/DateTimePicker.svelte index df7d969..1e4b83c 100644 --- a/apps/tauri/src/lib/components/DateTimePicker.svelte +++ b/apps/tauri/src/lib/components/DateTimePicker.svelte @@ -162,7 +162,7 @@ {/each} -