Skip to content

Commit

Permalink
Merge pull request umami-software#663 from bilguun0203/master
Browse files Browse the repository at this point in the history
Use Mongolian locale from date-fns
  • Loading branch information
mikecao authored May 20, 2021
2 parents d7efccf + be99d71 commit f7757ad
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions lang/mn-MN.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"label.administrator": "Админ",
"label.all": "Бүх",
"label.all-websites": "Бүх вебүүд",
"label.all-events": "Бүх үйл явдал",
"label.back": "Буцах",
"label.cancel": "Цуцлах",
"label.change-password": "Нууц үг солих",
Expand Down
3 changes: 2 additions & 1 deletion lib/lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
id,
it,
ja,
mn,
ms,
nb,
nl,
Expand Down Expand Up @@ -111,7 +112,7 @@ export const dateLocales = {
'ja-JP': ja,
'es-MX': es,
'fr-FR': fr,
'mn-MN': enUS,
'mn-MN': mn,
'el-GR': el,
'fo-FO': da,
'pt-PT': pt,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"classnames": "^2.3.1",
"cookie": "^0.4.1",
"cors": "^2.8.5",
"date-fns": "^2.16.1",
"date-fns": "^2.21.3",
"date-fns-tz": "^1.0.12",
"detect-browser": "^5.2.0",
"dotenv": "^8.2.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2952,10 +2952,10 @@ date-fns-tz@^1.0.12:
resolved "https://registry.yarnpkg.com/date-fns-tz/-/date-fns-tz-1.0.12.tgz#2d680e1099767775cff7a30eac34362d52639fed"
integrity sha512-Ca+9pjGkU90XDHnclfSjz9o7g/ZqyYyYI0aCYmbf65P75oy8gktuaRslO3UPXl3ADgAnF9/KCykQkpU3/xvtWQ==

date-fns@^2.16.1:
version "2.16.1"
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.16.1.tgz#05775792c3f3331da812af253e1a935851d3834b"
integrity sha512-sAJVKx/FqrLYHAQeN7VpJrPhagZc9R4ImZIWYRFZaaohR3KzmuK88touwsSwSVT8Qcbd4zoDsnGfX4GFB4imyQ==
date-fns@^2.21.3:
version "2.21.3"
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.21.3.tgz#8f5f6889d7a96bbcc1f0ea50239b397a83357f9b"
integrity sha512-HeYdzCaFflc1i4tGbj7JKMjM4cKGYoyxwcIIkHzNgCkX8xXDNJDZXgDDVchIWpN4eQc3lH37WarduXFZJOtxfw==

debounce@^1.2.0:
version "1.2.0"
Expand Down

0 comments on commit f7757ad

Please sign in to comment.