dayjs icon indicating copy to clipboard operation
dayjs copied to clipboard

i18n: locale name without subtag

Open Mejans opened this issue 1 month ago • 0 comments

Hello! The Occitan locale has a subtag for the dialect. I was wondering what happends if the code calls dayjs with only the locale iso code "oc". I think it will just not load the locale at all. Could we create a "oc" file that points at oc-lnc? Or just rename oc-lnc to "oc". Catalan has not several dialects variations here, maybe Occitan should do the same. Although, since the creation of the Occitan locale, an official tag has been approved and for lengadocian it's oc-lengadoc

Mejans avatar Nov 20 '25 15:11 Mejans