Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Remove spread syntax from mn locale. #2410

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
33 changes: 31 additions & 2 deletions src/locale/mn/_lib/localize/index.js
Expand Up @@ -62,7 +62,34 @@ var monthValues = {
}

var formattingMonthValues = {
...monthValues,
narrow: [
'I',
'II',
'III',
'IV',
'V',
'VI',
'VII',
'VIII',
'IX',
'X',
'XI',
'XII'
],
abbreviated: [
'1-р сар',
'2-р сар',
'3-р сар',
'4-р сар',
'5-р сар',
'6-р сар',
'7-р сар',
'8-р сар',
'9-р сар',
'10-р сар',
'11-р сар',
'12-р сар'
],
wide: [
'нэгдүгээр сар',
'хоёрдугаар сар',
Expand All @@ -87,7 +114,9 @@ var dayValues = {
}

var formattingDayValues = {
...dayValues,
narrow: ['Н', 'Д', 'М', 'Л', 'П', 'Б', 'Б'],
short: ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'],
abbreviated: ['Ням', 'Дав', 'Мяг', 'Лха', 'Пүр', 'Баа', 'Бям'],
wide: ['ням', 'даваа', 'мягмар', 'лхагва', 'пүрэв', 'баасан', 'бямба']
}

Expand Down