Skip to content

Commit

Permalink
Build 2.23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marwahaha committed Dec 13, 2018
1 parent f01bac6 commit b8f4fe2
Show file tree
Hide file tree
Showing 58 changed files with 3,137 additions and 1,265 deletions.
1 change: 1 addition & 0 deletions component.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"locale/km.js",
"locale/kn.js",
"locale/ko.js",
"locale/ku.js",
"locale/ky.js",
"locale/lb.js",
"locale/lo.js",
Expand Down
2 changes: 1 addition & 1 deletion locale/ar-dz.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 4 // The week that contains Jan 1st is the first week of the year.
doy : 4 // The week that contains Jan 4th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/ar-kw.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/ar-ly.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
},
week : {
dow : 6, // Saturday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/ar-ma.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
week : {
dow : 6, // Saturday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/ar-sa.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
},
week : {
dow : 6, // Saturday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/az.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/be.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/bg.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/bn.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/bo.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/bs.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/cv.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
ordinal : '%d-мӗш',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/dv.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
},
week : {
dow : 7, // Sunday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/eo.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
ordinal : '%da',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/es-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
ordinal : '%dº',
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/eu.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/fa.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
ordinal : '%dم',
week : {
dow : 6, // Saturday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/gu.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
},
week: {
dow: 0, // Sunday is the first day of the week.
doy: 6 // The week that contains Jan 1st is the first week of the year.
doy: 6 // The week that contains Jan 6th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/hi.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/hr.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/hy-am.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/id.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/jv.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/kk.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/kn.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});

Expand Down
118 changes: 118 additions & 0 deletions locale/ku.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
//! moment.js locale configuration

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';


var symbolMap = {
'1': '١',
'2': '٢',
'3': '٣',
'4': '٤',
'5': '٥',
'6': '٦',
'7': '٧',
'8': '٨',
'9': '٩',
'0': '٠'
}, numberMap = {
'١': '1',
'٢': '2',
'٣': '3',
'٤': '4',
'٥': '5',
'٦': '6',
'٧': '7',
'٨': '8',
'٩': '9',
'٠': '0'
},
months = [
'کانونی دووەم',
'شوبات',
'ئازار',
'نیسان',
'ئایار',
'حوزەیران',
'تەمموز',
'ئاب',
'ئەیلوول',
'تشرینی یەكەم',
'تشرینی دووەم',
'كانونی یەکەم'
];


var ku = moment.defineLocale('ku', {
months : months,
monthsShort : months,
weekdays : 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split('_'),
weekdaysShort : 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'),
weekdaysMin : 'ی_د_س_چ_پ_ه_ش'.split('_'),
weekdaysParseExact : true,
longDateFormat : {
LT : 'HH:mm',
LTS : 'HH:mm:ss',
L : 'DD/MM/YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY HH:mm',
LLLL : 'dddd, D MMMM YYYY HH:mm'
},
meridiemParse: /ئێواره‌|به‌یانی/,
isPM: function (input) {
return /ئێواره‌/.test(input);
},
meridiem : function (hour, minute, isLower) {
if (hour < 12) {
return 'به‌یانی';
} else {
return 'ئێواره‌';
}
},
calendar : {
sameDay : '[ئه‌مرۆ كاتژمێر] LT',
nextDay : '[به‌یانی كاتژمێر] LT',
nextWeek : 'dddd [كاتژمێر] LT',
lastDay : '[دوێنێ كاتژمێر] LT',
lastWeek : 'dddd [كاتژمێر] LT',
sameElse : 'L'
},
relativeTime : {
future : 'له‌ %s',
past : '%s',
s : 'چه‌ند چركه‌یه‌ك',
ss : 'چركه‌ %d',
m : 'یه‌ك خوله‌ك',
mm : '%d خوله‌ك',
h : 'یه‌ك كاتژمێر',
hh : '%d كاتژمێر',
d : 'یه‌ك ڕۆژ',
dd : '%d ڕۆژ',
M : 'یه‌ك مانگ',
MM : '%d مانگ',
y : 'یه‌ك ساڵ',
yy : '%d ساڵ'
},
preparse: function (string) {
return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
return numberMap[match];
}).replace(/،/g, ',');
},
postformat: function (string) {
return string.replace(/\d/g, function (match) {
return symbolMap[match];
}).replace(/,/g, '،');
},
week : {
dow : 6, // Saturday is the first day of the week.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});

return ku;

})));
6 changes: 3 additions & 3 deletions locale/ky.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
sameDay : '[Бүгүн саат] LT',
nextDay : '[Эртең саат] LT',
nextWeek : 'dddd [саат] LT',
lastDay : '[Кече саат] LT',
lastWeek : '[Өткен аптанын] dddd [күнү] [саат] LT',
lastDay : '[Кечээ саат] LT',
lastWeek : '[Өткөн аптанын] dddd [күнү] [саат] LT',
sameElse : 'L'
},
relativeTime : {
Expand All @@ -77,7 +77,7 @@
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/me.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
2 changes: 1 addition & 1 deletion locale/mk.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

Expand Down
Loading

0 comments on commit b8f4fe2

Please sign in to comment.