DateRangePicker is a reusable component for shadcn using Radix UI and Tailwind CSS. Includes preset date ranges, text entry, calendar selection and date comparison
You can localized the calendar with date-fns into the component Calendar
My code:
import { es } from "date-fns/locale"
<Calendar
weekStartsOn={1}
locale={es}
mode="range"
...
Hello, how can I localize the whole calendar, because current code only localizes the button, but once you open the picker you get:
All localized to "en"
And I need the calendar to be fully localized because as it's shown currently, it produces confusion.