Is it possible to add Month text support in locale?
maximdx opened this issue · comments
Xi Duan commented
Now we can set weekdays texts by providing the locale object.
Is it possible to add Month text support in locale as we do in weekdays please?
JungHoonPark commented
It seems you cannot provide month as below, but you can edit month texts what you want at date-fns/locale/{language}/build_format_locale
locale?: {
blank?: string;
headerFormat?: string;
todayLabel?: {
long: string;
};
weekdays?: string[];
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
};
Xi Duan commented
Good to know that. Thanks for the help!