Files
CatoandClaude Sonnet 5.5 9450bc14ed feat(forms): dates read in words — all date fields use @bitbaum/whenkit's DateInput (#109)
Twelve raw <input type="date"> fields (pet birth date, health log,
vaccinations, medications, records, availability, provider search) showed the
browser's bare "tt.mm.jjjj" box. They now render whenkit's DateInput, a
drop-in with the same props and onChange(event): the tag changes and
nothing else. The visible box carries the SAME .form-input class, and in
petvity's real CSS build it takes that look exactly (border, 10px radius,
padding, font); the real input stays on top, so the picker, keyboard and
validation are unchanged.

components/ui/date-input.tsx is the one place petvity imports it from (and
where the stylesheet is imported). Migrated with whenkit's
scripts/migrate-date-inputs.mjs (tag + one import per file). Lockfile
written with petvity's pinned pnpm 11.6.0 so only whenkit's 14 lines change.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-08 07:37:41 -07:00
..