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
This commit is contained in:
@@ -80,6 +80,11 @@ export const importDateFNSLocale = async (locale: string): Promise<Locale> => {
|
||||
result = (await import('date-fns/locale/lt')).lt
|
||||
|
||||
break
|
||||
case 'lv':
|
||||
result = (await import('date-fns/locale/lv')).lv
|
||||
|
||||
break
|
||||
|
||||
case 'nb':
|
||||
result = (await import('date-fns/locale/nb')).nb
|
||||
|
||||
|
||||
Reference in New Issue
Block a user