Open benasher44 opened 2 days ago
Thanks, but what about the locale prop, the jalali calendar and the utc dates?
While we can add date-fns-jalali
and @date-fns/utc
to the dependencies, I'm not about the right approach for the locale prop.
I'm considering something like:
- import { es } from "date-fns/locale";
+ import { es } from "react-day-picker/locale";
<DayPicker locale={es} />; // Set the locale to Spanish
Description
See gpbl/react-day-picker#2240
Type of Change
Checklist
Before submitting your pull request, please make sure the following is done:
Linked Issues
gpbl/react-day-picker#2240