We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 807fafa commit 3188dadCopy full SHA for 3188dad
src/generate/dayjs.ts
@@ -35,7 +35,7 @@ const localeMap: IlocaleMapObject = {
35
36
const parseLocale = (locale: string) => {
37
const mapLocale = localeMap[locale];
38
- return (mapLocale || locale.split('_')[0]) as LocalePresetType;
+ return (mapLocale || locale.split('_')[0]) as string;
39
};
40
41
const parseNoMatchNotice = () => {
0 commit comments