This repository has been archived by the owner on Sep 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c9a093
commit 7c41207
Showing
10 changed files
with
130 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
// @flow strict | ||
|
||
import { | ||
bg, | ||
ca, | ||
cs, | ||
da, | ||
de, | ||
el, | ||
enGB, | ||
enUS, | ||
es, | ||
fr, | ||
hr, | ||
id, | ||
it, | ||
ja, | ||
lt, | ||
he, | ||
hu, | ||
nl, | ||
nb, | ||
pl, | ||
pt, | ||
ptBR, | ||
ro, | ||
ru, | ||
sk, | ||
sr, | ||
fi, | ||
sv, | ||
th, | ||
tr, | ||
vi, | ||
uk, | ||
arDZ, | ||
ko, | ||
zhCN, | ||
zhTW, | ||
} from 'date-fns/locale'; | ||
import type { Locale } from 'date-fns'; | ||
|
||
const LocaleMap: { [key: string]: Locale, ... } = { | ||
bg, | ||
ca, | ||
cs, | ||
da, | ||
de, | ||
at: de, | ||
ch: de, | ||
el: el, | ||
en: enGB, | ||
au: enGB, | ||
ee: enGB, | ||
hk: enGB, | ||
in: enGB, | ||
ie: enGB, | ||
my: enGB, | ||
nz: enGB, | ||
sg: enGB, | ||
za: enGB, | ||
ph: enGB, | ||
us: enUS, | ||
es, | ||
ag: es, | ||
cl: es, | ||
co: es, | ||
ec: es, | ||
pe: es, | ||
mx: es, | ||
fr, | ||
be: fr, | ||
'ca-fr': fr, | ||
hr, | ||
id, | ||
is: enGB, | ||
it, | ||
ja, | ||
lt, | ||
il: he, | ||
hu, | ||
nl, | ||
nb, | ||
pl, | ||
pt, | ||
br: ptBR, | ||
ro, | ||
ru, | ||
by: ru, | ||
kz: ru, | ||
sk, | ||
sr, | ||
fi, | ||
sv, | ||
th, | ||
tr, | ||
vn: vi, | ||
uk, | ||
ar: arDZ, | ||
bh: arDZ, | ||
jo: arDZ, | ||
kw: arDZ, | ||
om: arDZ, | ||
qa: arDZ, | ||
ae: arDZ, | ||
ko: ko, | ||
cn: zhCN, | ||
tw: zhTW, | ||
}; | ||
|
||
export default LocaleMap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4734,12 +4734,7 @@ data-urls@^1.0.0: | |
whatwg-mimetype "^2.2.0" | ||
whatwg-url "^7.0.0" | ||
|
||
date-fns@^2.7.0: | ||
version "2.8.0" | ||
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.8.0.tgz#628d865367e30e45747ed1e8b0c1572090b04f55" | ||
integrity sha512-nbZMIMsoD7QiIKipZ5+XRTCtHZad1ch8OEkLaJxjGL6ThAK2IWAdjmAUAS7Fdz5fCaVWtqc+c8pAsN/MX8eaew== | ||
|
||
date-fns@^2.8.1: | ||
date-fns@^2.7.0, date-fns@^2.8.1: | ||
version "2.8.1" | ||
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.8.1.tgz#2109362ccb6c87c3ca011e9e31f702bc09e4123b" | ||
integrity sha512-EL/C8IHvYRwAHYgFRse4MGAPSqlJVlOrhVYZ75iQBKrnv+ZedmYsgwH3t+BCDuZDXpoo07+q9j4qgSSOa7irJg== | ||
|
@@ -7091,11 +7086,6 @@ interpret@^1.0.0, interpret@^1.1.0: | |
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" | ||
integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw== | ||
|
||
intl@^1.2.5: | ||
version "1.2.5" | ||
resolved "https://registry.yarnpkg.com/intl/-/intl-1.2.5.tgz#82244a2190c4e419f8371f5aa34daa3420e2abde" | ||
integrity sha1-giRKIZDE5Bn4Nx9ao02qNCDiq94= | ||
|
||
[email protected], invariant@^2.2.2, invariant@^2.2.4: | ||
version "2.2.4" | ||
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" | ||
|