Skip to content

Commit cbc37d8

Browse files
authored
fix(translations): add missing import for lv locale from date-fns (#12577)
We added support for Latvian recently but this wasn't added to the date-fns locale imports
1 parent 76bf459 commit cbc37d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/translations/src/importDateFNSLocale.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ export const importDateFNSLocale = async (locale: string): Promise<Locale> => {
8080
result = (await import('date-fns/locale/lt')).lt
8181

8282
break
83+
case 'lv':
84+
result = (await import('date-fns/locale/lv')).lv
85+
86+
break
87+
8388
case 'nb':
8489
result = (await import('date-fns/locale/nb')).nb
8590

0 commit comments

Comments
 (0)