Incident date filter matched nothing #168

Merged
logan merged 1 commits from fix/incident-date-filter into main 2026-09-24 01:15:32 -04:00
Owner

Incident started_at is stored as an isoformat string, not a timestamp; Date range bounds compared by type and returned zero rows. Bounds are now ISO strings in the same +00:00 shape.

Frontend-only; not typechecked locally (no Node).

🤖 Generated with Claude Code

Incident `started_at` is stored as an isoformat string, not a timestamp; Date range bounds compared by type and returned zero rows. Bounds are now ISO strings in the same `+00:00` shape. Frontend-only; not typechecked locally (no Node). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
logan added 1 commit 2026-09-24 01:15:25 -04:00
Incident started_at is an isoformat() string (incident_correlator.py,
routers/incidents.py), not a Firestore timestamp like calls. The range
bounds were Dates, which Firestore compares by type, so any date range
returned zero incidents. Bounds are now UTC ISO strings in the same
"+00:00" shape, which order lexicographically by time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
logan merged commit e79b8bc37d into main 2026-09-24 01:15:32 -04:00
logan deleted branch fix/incident-date-filter 2026-09-24 01:15:32 -04:00
Sign in to join this conversation.