From 89de4fd869149991b8218c581c1531eca4dfe5c5 Mon Sep 17 00:00:00 2001 From: Ryan Kegel Date: Fri, 24 Apr 2026 00:12:20 -0400 Subject: [PATCH] fix: update date comparison logic in isChoreCompletedToday function --- frontend/vue-app/src/components/child/ChildView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/vue-app/src/components/child/ChildView.vue b/frontend/vue-app/src/components/child/ChildView.vue index 000ac6f..25c65df 100644 --- a/frontend/vue-app/src/components/child/ChildView.vue +++ b/frontend/vue-app/src/components/child/ChildView.vue @@ -225,7 +225,7 @@ const triggerTask = async (task: ChildTask) => { function isChoreCompletedToday(item: ChildTask): boolean { if (item.pending_status !== 'approved' || !item.approved_at) return false const approvedDate = item.approved_at.substring(0, 10) - const today = toLocalISODate(new Date()) + const today = new Date().toISOString().slice(0, 10) return approvedDate === today }