mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-26 11:09:23 -06:00
Some date values passed the check but never matched. "2026-10-01 10:00" (a space, not T) and "…T10:00:00+02:00" (a zone) were accepted, while the matcher compared them as written against capture times stored as "2026-10-01T10:00:00". rules::rule_date is now the one reading for the check and the matcher: 2026, 2026-08, 2026-08-14, then T10 / T10:00 / T10:00:00, with a space working as the T, and a real date and time (25 o'clock and minute 61 are refused too). A time zone or fractions of a second can never match a local, whole-second capture time. They get their own issue, DateWithZone, translated in all seven locales, instead of matching nothing silently. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>