Is it possible to add Month text support in locale?
maximdx opened this issue · 2 comments
maximdx 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?
qkreltms 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;
};
maximdx commented
Good to know that. Thanks for the help!