fix: 🐛 added import of moment locales for available languages
This commit is contained in:
parent
53f6d4c4f0
commit
e7c0d5568b
|
@ -1,6 +1,10 @@
|
|||
import { I18nManager } from 'react-native'
|
||||
import i18n from 'i18n-js'
|
||||
import moment from 'moment'
|
||||
import 'moment/locale/ar'
|
||||
import 'moment/locale/de'
|
||||
import 'moment/locale/pl'
|
||||
import 'moment/locale/sv'
|
||||
|
||||
const changeListeners: Record<string, any> = {}
|
||||
|
||||
|
@ -11,6 +15,7 @@ let languageCode: string
|
|||
|
||||
const rtlList: { [key: string]: boolean } = {
|
||||
en: false,
|
||||
de: false,
|
||||
pl: false,
|
||||
sv: false,
|
||||
so: false,
|
||||
|
|
Loading…
Reference in New Issue