Reads the weekday back and catches year typos, past or future dates on the wrong side of today (per `expect`), dates implausibly far away and weekends, each with a one-tap fix.
npx shadcn@latest add @bollard/date-sanity-input
Loading the source for date-sanity-input…
Registry Items
date-sanity-input
Configuration
Name
date-sanity-input
Type
UI
Description
Reads the weekday back and catches year typos, past or future dates on the wrong side of today (per `expect`), dates implausibly far away and weekends, each with a one-tap fix.
Files · 1
Dependencies
npm packages
lucide-react
motion
Registry Items
date-sanity-input
Configuration
Name
date-sanity-input
Type
UI
Description
Reads the weekday back and catches year typos, past or future dates on the wrong side of today (per `expect`), dates implausibly far away and weekends, each with a one-tap fix.