Skip to content

Commit

Permalink
Build 2.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ichernev committed Dec 31, 2015
1 parent 6effd83 commit c74a101
Show file tree
Hide file tree
Showing 104 changed files with 18,219 additions and 9,436 deletions.
11 changes: 11 additions & 0 deletions component.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@
"locale/da.js",
"locale/de-at.js",
"locale/de.js",
"locale/dv.js",
"locale/el.js",
"locale/en-au.js",
"locale/en-ca.js",
"locale/en-gb.js",
"locale/en-ie.js",
"locale/en-nz.js",
"locale/eo.js",
"locale/es.js",
"locale/et.js",
Expand All @@ -36,8 +39,10 @@
"locale/fi.js",
"locale/fo.js",
"locale/fr-ca.js",
"locale/fr-ch.js",
"locale/fr.js",
"locale/fy.js",
"locale/gd.js",
"locale/gl.js",
"locale/he.js",
"locale/hi.js",
Expand All @@ -50,9 +55,11 @@
"locale/ja.js",
"locale/jv.js",
"locale/ka.js",
"locale/kk.js",
"locale/km.js",
"locale/ko.js",
"locale/lb.js",
"locale/lo.js",
"locale/lt.js",
"locale/lv.js",
"locale/me.js",
Expand All @@ -71,16 +78,20 @@
"locale/pt.js",
"locale/ro.js",
"locale/ru.js",
"locale/se.js",
"locale/si.js",
"locale/sk.js",
"locale/sl.js",
"locale/sq.js",
"locale/sr-cyrl.js",
"locale/sr.js",
"locale/sv.js",
"locale/sw.js",
"locale/ta.js",
"locale/te.js",
"locale/th.js",
"locale/tl-ph.js",
"locale/tlh.js",
"locale/tr.js",
"locale/tzl.js",
"locale/tzm-latn.js",
Expand Down
5 changes: 3 additions & 2 deletions locale/af.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
//! locale : afrikaans (af)
//! author : Werner Mollentze : https://github.com/wernerm

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down
5 changes: 3 additions & 2 deletions locale/ar-ma.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
//! author : ElFadili Yassine : https://github.com/ElFadiliY
//! author : Abdel Said : https://github.com/abdelsaid

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down
5 changes: 3 additions & 2 deletions locale/ar-sa.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
//! locale : Arabic Saudi Arabia (ar-sa)
//! author : Suhail Alkowaileet : https://github.com/xsoh

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down
5 changes: 3 additions & 2 deletions locale/ar-tn.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
//! moment.js locale configuration
//! locale : Tunisian Arabic (ar-tn)

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down
5 changes: 3 additions & 2 deletions locale/ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
//! Changes in months, weekdays: Ahmed Elkhatib
//! Native plural forms: forabi https://github.com/forabi

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down
5 changes: 3 additions & 2 deletions locale/az.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
//! locale : azerbaijani (az)
//! author : topchiyev : https://github.com/topchiyev

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down
36 changes: 12 additions & 24 deletions locale/be.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
//! author: Praleska: http://praleska.pro/
//! Author : Menelion Elensúle : https://github.com/Oire

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down Expand Up @@ -33,31 +34,18 @@
return number + ' ' + plural(format[key], +number);
}
}
function monthsCaseReplace(m, format) {
var months = {
'nominative': 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_'),
'accusative': 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_')
},
nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ?
'accusative' :
'nominative';
return months[nounCase][m.month()];
}
function weekdaysCaseReplace(m, format) {
var weekdays = {
'nominative': 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'),
'accusative': 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_')
},
nounCase = (/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/).test(format) ?
'accusative' :
'nominative';
return weekdays[nounCase][m.day()];
}

var be = moment.defineLocale('be', {
months : monthsCaseReplace,
months : {
format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'),
standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_')
},
monthsShort : 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
weekdays : weekdaysCaseReplace,
weekdays : {
format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'),
standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'),
isFormat: /\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/
},
weekdaysShort : 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
weekdaysMin : 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
longDateFormat : {
Expand Down
5 changes: 3 additions & 2 deletions locale/bg.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
//! locale : bulgarian (bg)
//! author : Krasen Borisov : https://github.com/kraz

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down
17 changes: 9 additions & 8 deletions locale/bn.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
//! locale : Bengali (bn)
//! author : Kaushik Gandhi : https://github.com/kaushikgandhi

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down Expand Up @@ -37,8 +38,8 @@
var bn = moment.defineLocale('bn', {
months : 'জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'),
monthsShort : 'জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্'.split('_'),
weekdays : 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রুবার_শনিবার'.split('_'),
weekdaysShort : 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্রু_শনি'.split('_'),
weekdays : 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রবার_শনিবার'.split('_'),
weekdaysShort : 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্র_শনি'.split('_'),
weekdaysMin : 'রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি'.split('_'),
longDateFormat : {
LT : 'A h:mm সময়',
Expand All @@ -59,7 +60,7 @@
relativeTime : {
future : '%s পরে',
past : '%s আগে',
s : 'কএক সেকেন্ড',
s : 'কয়েক সেকেন্ড',
m : 'এক মিনিট',
mm : '%d মিনিট',
h : 'এক ঘন্টা',
Expand All @@ -81,9 +82,9 @@
return symbolMap[match];
});
},
meridiemParse: /|||ি|/,
meridiemParse: /|||ি|/,
isPM: function (input) {
return /^(|ি|)$/.test(input);
return /^(|ি|)$/.test(input);
},
//Bengali is a vast language its spoken
//in different forms in various parts of the world.
Expand All @@ -96,7 +97,7 @@
} else if (hour < 17) {
return 'দুপুর';
} else if (hour < 20) {
return 'বিকেল';
return 'বিকাল';
} else {
return 'রাত';
}
Expand Down
5 changes: 3 additions & 2 deletions locale/bo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
//! locale : tibetan (bo)
//! author : Thupten N. Chakrishar : https://github.com/vajradog

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down
5 changes: 3 additions & 2 deletions locale/br.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
//! locale : breton (br)
//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down
5 changes: 3 additions & 2 deletions locale/bs.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
//! author : Nedim Cholich : https://github.com/frontyard
//! based on (hr) translation by Bojan Marković

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down
7 changes: 4 additions & 3 deletions locale/ca.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
//! locale : catalan (ca)
//! author : Juan G. Hurtado : https://github.com/juanghurtado

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand All @@ -17,7 +18,7 @@
weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'),
longDateFormat : {
LT : 'H:mm',
LTS : 'LT:ss',
LTS : 'H:mm:ss',
L : 'DD/MM/YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY H:mm',
Expand Down
19 changes: 17 additions & 2 deletions locale/cs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
//! locale : czech (cs)
//! author : petrbela : https://github.com/petrbela

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down Expand Up @@ -78,6 +79,20 @@
}
return _monthsParse;
}(months, monthsShort)),
shortMonthsParse : (function (monthsShort) {
var i, _shortMonthsParse = [];
for (i = 0; i < 12; i++) {
_shortMonthsParse[i] = new RegExp('^' + monthsShort[i] + '$', 'i');
}
return _shortMonthsParse;
}(monthsShort)),
longMonthsParse : (function (months) {
var i, _longMonthsParse = [];
for (i = 0; i < 12; i++) {
_longMonthsParse[i] = new RegExp('^' + months[i] + '$', 'i');
}
return _longMonthsParse;
}(months)),
weekdays : 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
weekdaysShort : 'ne_po_út_st_čt_pá_so'.split('_'),
weekdaysMin : 'ne_po_út_st_čt_pá_so'.split('_'),
Expand Down
5 changes: 3 additions & 2 deletions locale/cv.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
//! locale : chuvash (cv)
//! author : Anatoly Mironov : https://github.com/mirontoli

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down
5 changes: 3 additions & 2 deletions locale/cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
//! locale : Welsh (cy)
//! author : Robert Allen

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down
5 changes: 3 additions & 2 deletions locale/da.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
//! locale : danish (da)
//! author : Ulrik Nielsen : https://github.com/mrbase

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
;(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';
Expand Down
Loading

0 comments on commit c74a101

Please sign in to comment.