1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month🚨 Slop police🚨 Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. cubby-ui
  3. ParseDate

ParseDate

lib

Forgiving parsers for dates people type: "tomorrow", "next fri", "in 3 weeks", "mar 14", "14 March 2027", "3/14", "2026-03-14", and ranges such as "Oct 1 – 8, 2026" or "last 30 days".

pnpm dlx shadcn@latest add "https://www.cubby-ui.dev/r/parse-date.json"
Premium blocks for shadcn/uiShadcnblocks.com · AffiliateExplore
lib/cubby-ui/parse-date.ts