You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Armenian (hy) admin shows "Loading..." for every date: importDateFNSLocale has no 'hy-AM' case #19481
With Armenian (hy) as the admin language, every date in the admin panel shows "Բեռնում..." ("Loading...") forever: list view date cells, date document titles and anything else that goes through formatDate.
The Armenian translation sets dateFNSKey: 'hy-AM' (languages/hy.ts#L818), but importDateFNSLocale has no case 'hy-AM' (importDateFNSLocale.ts). So the import resolves to undefined, i18n.dateFNS is never set, and formatDate falls back to ${i18n.t('general:loading')}... (formatDateTitle.ts#L27).
date-fns ships the locale as date-fns/locale/hy, so the fix is one more case:
I'd like to work on this. I'll add the 'hy-AM' case and a test that checks
every language's dateFNSKey resolves to a date-fns locale, so this can't
happen again for other languages.
Activity
PANJA-ABHISHEK commentedon Nov 10, 2026
I'd like to work on this. I'll add the 'hy-AM' case and a test that checks
every language's dateFNSKey resolves to a date-fns locale, so this can't
happen again for other languages.
fix: address 24 Payload read, schema, version and tooling reports (#9)