From 00e80849698154c5b46b7767193921973d987433 Mon Sep 17 00:00:00 2001 From: Ashvin <76151462+ashvinctrl@users.noreply.github.com> Date: Sun, 7 Jun 2026 22:45:38 +0530 Subject: [PATCH] fix(notes): handle time-first due_date phrases in parse_due_for_user (#3319) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit parse_due_for_user only matched day-first format ('today at 3pm'). Time-first strings like '3pm today' or '11pm today' — which the tool schema and tool_index both advertise as valid examples — fell through all branches, hit dateutil or the legacy _parse_dt fallback, and in many cases raised ValueError. do_manage_notes then stored the raw string verbatim, and the ISO-only reminder scanner (action_ping_notes) never fired the note. Add a time-first regex branch immediately after the day-first branch to handle '