mirror of
https://github.com/bitbaum/substrata.git
synced 2026-12-03 22:27:28 +01:00
Seven local copies of the YYYY-MM-DD regex (registry schema, entry vocabulary, graph validation, event rules, event drafts, two quality checks) and three hand-rolled day calculations (price window dayBefore and daysBetween, starter rotation day count) are replaced by whenkit's isISODate, addDays and daysBetween, per the packages-first rule. isISODate also rejects impossible calendar days (2026-02-30), which the regex let through; every stored row still passes. The entry isoDate schema carries JSON Schema format "date", and the printed shape notes YYYY-MM-DD, so the data-entry shape still states the form after the pattern is gone. package-plan.json binds the new files under the dates block. Claude-Session: https://claude.ai/code/session_019MDtmuvTGrpo3VChP3skH8 Co-authored-by: Claude <noreply@anthropic.com>