momentjs-rails 2.2.1 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/news.md +3 -0
- data/test/dummy/log/test.log +147 -14
- data/test/dummy/tmp/cache/assets/D1C/680/sprockets%2F16ed4d5afdb2919596e6f8790e2116c2 +0 -0
- data/test/dummy/tmp/cache/assets/D35/CA0/sprockets%2F493e64bce2d302801dc01cf7cd096a58 +0 -0
- data/test/dummy/tmp/cache/assets/D3F/5F0/sprockets%2F4a6c53eae7c6e41a69a191578bbb6417 +0 -0
- data/test/dummy/tmp/cache/assets/D58/BD0/sprockets%2F4de9ddc9b725c715a54c98697b2528fe +0 -0
- data/test/dummy/tmp/cache/assets/D75/510/sprockets%2Fe690787ac522f47a6be024bfcc1767ee +0 -0
- data/test/dummy/tmp/cache/assets/E10/250/sprockets%2Fe4badb9ddfda484eb9671bf88567be61 +0 -0
- data/test/integration/navigation_test.rb +1 -1
- data/vendor/assets/javascripts/moment.js +717 -178
- data/vendor/assets/javascripts/moment/ar-ma.js +2 -2
- data/vendor/assets/javascripts/moment/ar.js +2 -2
- data/vendor/assets/javascripts/moment/bg.js +3 -3
- data/vendor/assets/javascripts/moment/br.js +2 -2
- data/vendor/assets/javascripts/moment/bs.js +139 -0
- data/vendor/assets/javascripts/moment/ca.js +2 -2
- data/vendor/assets/javascripts/moment/cs.js +2 -2
- data/vendor/assets/javascripts/moment/cv.js +2 -2
- data/vendor/assets/javascripts/moment/cy.js +77 -0
- data/vendor/assets/javascripts/moment/da.js +2 -2
- data/vendor/assets/javascripts/moment/de.js +2 -2
- data/vendor/assets/javascripts/moment/el.js +2 -2
- data/vendor/assets/javascripts/moment/en-au.js +62 -0
- data/vendor/assets/javascripts/moment/en-ca.js +2 -2
- data/vendor/assets/javascripts/moment/en-gb.js +2 -2
- data/vendor/assets/javascripts/moment/eo.js +2 -2
- data/vendor/assets/javascripts/moment/es.js +2 -2
- data/vendor/assets/javascripts/moment/et.js +2 -2
- data/vendor/assets/javascripts/moment/eu.js +2 -2
- data/vendor/assets/javascripts/moment/fa.js +2 -2
- data/vendor/assets/javascripts/moment/fi.js +2 -2
- data/vendor/assets/javascripts/moment/fo.js +56 -0
- data/vendor/assets/javascripts/moment/fr-ca.js +2 -2
- data/vendor/assets/javascripts/moment/fr.js +2 -2
- data/vendor/assets/javascripts/moment/gl.js +2 -2
- data/vendor/assets/javascripts/moment/he.js +2 -2
- data/vendor/assets/javascripts/moment/hi.js +2 -2
- data/vendor/assets/javascripts/moment/hr.js +2 -2
- data/vendor/assets/javascripts/moment/hu.js +4 -3
- data/vendor/assets/javascripts/moment/id.js +2 -2
- data/vendor/assets/javascripts/moment/is.js +2 -2
- data/vendor/assets/javascripts/moment/it.js +2 -2
- data/vendor/assets/javascripts/moment/ja.js +2 -2
- data/vendor/assets/javascripts/moment/ka.js +2 -2
- data/vendor/assets/javascripts/moment/ko.js +2 -2
- data/vendor/assets/javascripts/moment/lt.js +118 -0
- data/vendor/assets/javascripts/moment/lv.js +2 -2
- data/vendor/assets/javascripts/moment/ml.js +2 -2
- data/vendor/assets/javascripts/moment/mr.js +2 -2
- data/vendor/assets/javascripts/moment/ms-my.js +2 -2
- data/vendor/assets/javascripts/moment/nb.js +2 -2
- data/vendor/assets/javascripts/moment/ne.js +2 -2
- data/vendor/assets/javascripts/moment/nl.js +5 -5
- data/vendor/assets/javascripts/moment/nn.js +2 -2
- data/vendor/assets/javascripts/moment/pl.js +2 -2
- data/vendor/assets/javascripts/moment/pt-br.js +2 -2
- data/vendor/assets/javascripts/moment/pt.js +2 -2
- data/vendor/assets/javascripts/moment/ro.js +2 -2
- data/vendor/assets/javascripts/moment/ru.js +20 -5
- data/vendor/assets/javascripts/moment/sk.js +2 -2
- data/vendor/assets/javascripts/moment/sl.js +2 -2
- data/vendor/assets/javascripts/moment/sq.js +2 -2
- data/vendor/assets/javascripts/moment/sv.js +2 -2
- data/vendor/assets/javascripts/moment/th.js +2 -2
- data/vendor/assets/javascripts/moment/tl-ph.js +58 -0
- data/vendor/assets/javascripts/moment/tr.js +2 -2
- data/vendor/assets/javascripts/moment/tzm-la.js +2 -2
- data/vendor/assets/javascripts/moment/tzm.js +2 -2
- data/vendor/assets/javascripts/moment/uk.js +18 -3
- data/vendor/assets/javascripts/moment/uz.js +55 -0
- data/vendor/assets/javascripts/moment/vn.js +62 -0
- data/vendor/assets/javascripts/moment/zh-cn.js +43 -18
- data/vendor/assets/javascripts/moment/zh-tw.js +7 -6
- metadata +10 -2
@@ -6,7 +6,7 @@
|
|
6
6
|
if (typeof define === 'function' && define.amd) {
|
7
7
|
define(['moment'], factory); // AMD
|
8
8
|
} else if (typeof exports === 'object') {
|
9
|
-
factory(require('../moment')); // Node
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
@@ -32,7 +32,7 @@
|
|
32
32
|
return number + ' ' + format(units[key], number, withoutSuffix);
|
33
33
|
}
|
34
34
|
|
35
|
-
moment.lang('lv', {
|
35
|
+
return moment.lang('lv', {
|
36
36
|
months : "janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),
|
37
37
|
monthsShort : "jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),
|
38
38
|
weekdays : "svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),
|
@@ -6,12 +6,12 @@
|
|
6
6
|
if (typeof define === 'function' && define.amd) {
|
7
7
|
define(['moment'], factory); // AMD
|
8
8
|
} else if (typeof exports === 'object') {
|
9
|
-
factory(require('../moment')); // Node
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
moment.lang('ml', {
|
14
|
+
return moment.lang('ml', {
|
15
15
|
months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split("_"),
|
16
16
|
monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split("_"),
|
17
17
|
weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split("_"),
|
@@ -6,7 +6,7 @@
|
|
6
6
|
if (typeof define === 'function' && define.amd) {
|
7
7
|
define(['moment'], factory); // AMD
|
8
8
|
} else if (typeof exports === 'object') {
|
9
|
-
factory(require('../moment')); // Node
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
@@ -36,7 +36,7 @@
|
|
36
36
|
'०': '0'
|
37
37
|
};
|
38
38
|
|
39
|
-
moment.lang('mr', {
|
39
|
+
return moment.lang('mr', {
|
40
40
|
months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split("_"),
|
41
41
|
monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split("_"),
|
42
42
|
weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split("_"),
|
@@ -6,12 +6,12 @@
|
|
6
6
|
if (typeof define === 'function' && define.amd) {
|
7
7
|
define(['moment'], factory); // AMD
|
8
8
|
} else if (typeof exports === 'object') {
|
9
|
-
factory(require('../moment')); // Node
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
moment.lang('ms-my', {
|
14
|
+
return moment.lang('ms-my', {
|
15
15
|
months : "Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),
|
16
16
|
monthsShort : "Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),
|
17
17
|
weekdays : "Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),
|
@@ -7,12 +7,12 @@
|
|
7
7
|
if (typeof define === 'function' && define.amd) {
|
8
8
|
define(['moment'], factory); // AMD
|
9
9
|
} else if (typeof exports === 'object') {
|
10
|
-
factory(require('../moment')); // Node
|
10
|
+
module.exports = factory(require('../moment')); // Node
|
11
11
|
} else {
|
12
12
|
factory(window.moment); // Browser global
|
13
13
|
}
|
14
14
|
}(function (moment) {
|
15
|
-
moment.lang('nb', {
|
15
|
+
return moment.lang('nb', {
|
16
16
|
months : "januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),
|
17
17
|
monthsShort : "jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),
|
18
18
|
weekdays : "søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),
|
@@ -6,7 +6,7 @@
|
|
6
6
|
if (typeof define === 'function' && define.amd) {
|
7
7
|
define(['moment'], factory); // AMD
|
8
8
|
} else if (typeof exports === 'object') {
|
9
|
-
factory(require('../moment')); // Node
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
@@ -36,7 +36,7 @@
|
|
36
36
|
'०': '0'
|
37
37
|
};
|
38
38
|
|
39
|
-
moment.lang('ne', {
|
39
|
+
return moment.lang('ne', {
|
40
40
|
months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split("_"),
|
41
41
|
monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split("_"),
|
42
42
|
weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split("_"),
|
@@ -6,7 +6,7 @@
|
|
6
6
|
if (typeof define === 'function' && define.amd) {
|
7
7
|
define(['moment'], factory); // AMD
|
8
8
|
} else if (typeof exports === 'object') {
|
9
|
-
factory(require('../moment')); // Node
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
var monthsShortWithDots = "jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),
|
15
15
|
monthsShortWithoutDots = "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_");
|
16
16
|
|
17
|
-
moment.lang('nl', {
|
17
|
+
return moment.lang('nl', {
|
18
18
|
months : "januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),
|
19
19
|
monthsShort : function (m, format) {
|
20
20
|
if (/-MMM-/.test(format)) {
|
@@ -34,10 +34,10 @@
|
|
34
34
|
LLLL : "dddd D MMMM YYYY LT"
|
35
35
|
},
|
36
36
|
calendar : {
|
37
|
-
sameDay: '[
|
38
|
-
nextDay: '[
|
37
|
+
sameDay: '[vandaag om] LT',
|
38
|
+
nextDay: '[morgen om] LT',
|
39
39
|
nextWeek: 'dddd [om] LT',
|
40
|
-
lastDay: '[
|
40
|
+
lastDay: '[gisteren om] LT',
|
41
41
|
lastWeek: '[afgelopen] dddd [om] LT',
|
42
42
|
sameElse: 'L'
|
43
43
|
},
|
@@ -6,12 +6,12 @@
|
|
6
6
|
if (typeof define === 'function' && define.amd) {
|
7
7
|
define(['moment'], factory); // AMD
|
8
8
|
} else if (typeof exports === 'object') {
|
9
|
-
factory(require('../moment')); // Node
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
moment.lang('nn', {
|
14
|
+
return moment.lang('nn', {
|
15
15
|
months : "januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),
|
16
16
|
monthsShort : "jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),
|
17
17
|
weekdays : "sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),
|
@@ -6,7 +6,7 @@
|
|
6
6
|
if (typeof define === 'function' && define.amd) {
|
7
7
|
define(['moment'], factory); // AMD
|
8
8
|
} else if (typeof exports === 'object') {
|
9
|
-
factory(require('../moment')); // Node
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
@@ -36,7 +36,7 @@
|
|
36
36
|
}
|
37
37
|
}
|
38
38
|
|
39
|
-
moment.lang('pl', {
|
39
|
+
return moment.lang('pl', {
|
40
40
|
months : function (momentToFormat, format) {
|
41
41
|
if (/D MMMM/.test(format)) {
|
42
42
|
return monthsSubjective[momentToFormat.month()];
|
@@ -6,12 +6,12 @@
|
|
6
6
|
if (typeof define === 'function' && define.amd) {
|
7
7
|
define(['moment'], factory); // AMD
|
8
8
|
} else if (typeof exports === 'object') {
|
9
|
-
factory(require('../moment')); // Node
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
moment.lang('pt-br', {
|
14
|
+
return moment.lang('pt-br', {
|
15
15
|
months : "Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),
|
16
16
|
monthsShort : "Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),
|
17
17
|
weekdays : "Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),
|
@@ -6,12 +6,12 @@
|
|
6
6
|
if (typeof define === 'function' && define.amd) {
|
7
7
|
define(['moment'], factory); // AMD
|
8
8
|
} else if (typeof exports === 'object') {
|
9
|
-
factory(require('../moment')); // Node
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
moment.lang('pt', {
|
14
|
+
return moment.lang('pt', {
|
15
15
|
months : "Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),
|
16
16
|
monthsShort : "Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),
|
17
17
|
weekdays : "Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),
|
@@ -7,12 +7,12 @@
|
|
7
7
|
if (typeof define === 'function' && define.amd) {
|
8
8
|
define(['moment'], factory); // AMD
|
9
9
|
} else if (typeof exports === 'object') {
|
10
|
-
factory(require('../moment')); // Node
|
10
|
+
module.exports = factory(require('../moment')); // Node
|
11
11
|
} else {
|
12
12
|
factory(window.moment); // Browser global
|
13
13
|
}
|
14
14
|
}(function (moment) {
|
15
|
-
moment.lang('ro', {
|
15
|
+
return moment.lang('ro', {
|
16
16
|
months : "Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),
|
17
17
|
monthsShort : "Ian_Feb_Mar_Apr_Mai_Iun_Iul_Aug_Sep_Oct_Noi_Dec".split("_"),
|
18
18
|
weekdays : "Duminică_Luni_Marţi_Miercuri_Joi_Vineri_Sâmbătă".split("_"),
|
@@ -7,7 +7,7 @@
|
|
7
7
|
if (typeof define === 'function' && define.amd) {
|
8
8
|
define(['moment'], factory); // AMD
|
9
9
|
} else if (typeof exports === 'object') {
|
10
|
-
factory(require('../moment')); // Node
|
10
|
+
module.exports = factory(require('../moment')); // Node
|
11
11
|
} else {
|
12
12
|
factory(window.moment); // Browser global
|
13
13
|
}
|
@@ -39,7 +39,7 @@
|
|
39
39
|
'accusative': 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_')
|
40
40
|
},
|
41
41
|
|
42
|
-
nounCase = (/D[oD]?
|
42
|
+
nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ?
|
43
43
|
'accusative' :
|
44
44
|
'nominative';
|
45
45
|
|
@@ -52,7 +52,7 @@
|
|
52
52
|
'accusative': 'янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек'.split('_')
|
53
53
|
},
|
54
54
|
|
55
|
-
nounCase = (/D[oD]?
|
55
|
+
nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ?
|
56
56
|
'accusative' :
|
57
57
|
'nominative';
|
58
58
|
|
@@ -72,12 +72,13 @@
|
|
72
72
|
return weekdays[nounCase][m.day()];
|
73
73
|
}
|
74
74
|
|
75
|
-
moment.lang('ru', {
|
75
|
+
return moment.lang('ru', {
|
76
76
|
months : monthsCaseReplace,
|
77
77
|
monthsShort : monthsShortCaseReplace,
|
78
78
|
weekdays : weekdaysCaseReplace,
|
79
|
-
weekdaysShort : "
|
79
|
+
weekdaysShort : "вс_пн_вт_ср_чт_пт_сб".split("_"),
|
80
80
|
weekdaysMin : "вс_пн_вт_ср_чт_пт_сб".split("_"),
|
81
|
+
monthsParse : [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[й|я]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i],
|
81
82
|
longDateFormat : {
|
82
83
|
LT : "HH:mm",
|
83
84
|
L : "DD.MM.YYYY",
|
@@ -124,6 +125,20 @@
|
|
124
125
|
yy : relativeTimeWithPlural
|
125
126
|
},
|
126
127
|
|
128
|
+
// M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
|
129
|
+
|
130
|
+
meridiem : function (hour, minute, isLower) {
|
131
|
+
if (hour < 4) {
|
132
|
+
return "ночи";
|
133
|
+
} else if (hour < 12) {
|
134
|
+
return "утра";
|
135
|
+
} else if (hour < 17) {
|
136
|
+
return "дня";
|
137
|
+
} else {
|
138
|
+
return "вечера";
|
139
|
+
}
|
140
|
+
},
|
141
|
+
|
127
142
|
ordinal: function (number, period) {
|
128
143
|
switch (period) {
|
129
144
|
case 'M':
|
@@ -7,7 +7,7 @@
|
|
7
7
|
if (typeof define === 'function' && define.amd) {
|
8
8
|
define(['moment'], factory); // AMD
|
9
9
|
} else if (typeof exports === 'object') {
|
10
|
-
factory(require('../moment')); // Node
|
10
|
+
module.exports = factory(require('../moment')); // Node
|
11
11
|
} else {
|
12
12
|
factory(window.moment); // Browser global
|
13
13
|
}
|
@@ -72,7 +72,7 @@
|
|
72
72
|
}
|
73
73
|
}
|
74
74
|
|
75
|
-
moment.lang('sk', {
|
75
|
+
return moment.lang('sk', {
|
76
76
|
months : months,
|
77
77
|
monthsShort : monthsShort,
|
78
78
|
monthsParse : (function (months, monthsShort) {
|
@@ -6,7 +6,7 @@
|
|
6
6
|
if (typeof define === 'function' && define.amd) {
|
7
7
|
define(['moment'], factory); // AMD
|
8
8
|
} else if (typeof exports === 'object') {
|
9
|
-
factory(require('../moment')); // Node
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
@@ -72,7 +72,7 @@
|
|
72
72
|
}
|
73
73
|
}
|
74
74
|
|
75
|
-
moment.lang('sl', {
|
75
|
+
return moment.lang('sl', {
|
76
76
|
months : "januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),
|
77
77
|
monthsShort : "jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),
|
78
78
|
weekdays : "nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),
|
@@ -7,12 +7,12 @@
|
|
7
7
|
if (typeof define === 'function' && define.amd) {
|
8
8
|
define(['moment'], factory); // AMD
|
9
9
|
} else if (typeof exports === 'object') {
|
10
|
-
factory(require('../moment')); // Node
|
10
|
+
module.exports = factory(require('../moment')); // Node
|
11
11
|
} else {
|
12
12
|
factory(window.moment); // Browser global
|
13
13
|
}
|
14
14
|
}(function (moment) {
|
15
|
-
moment.lang('sq', {
|
15
|
+
return moment.lang('sq', {
|
16
16
|
months : "Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),
|
17
17
|
monthsShort : "Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),
|
18
18
|
weekdays : "E Diel_E Hënë_E Marte_E Mërkure_E Enjte_E Premte_E Shtunë".split("_"),
|
@@ -6,12 +6,12 @@
|
|
6
6
|
if (typeof define === 'function' && define.amd) {
|
7
7
|
define(['moment'], factory); // AMD
|
8
8
|
} else if (typeof exports === 'object') {
|
9
|
-
factory(require('../moment')); // Node
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
moment.lang('sv', {
|
14
|
+
return moment.lang('sv', {
|
15
15
|
months : "januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),
|
16
16
|
monthsShort : "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),
|
17
17
|
weekdays : "söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),
|
@@ -6,12 +6,12 @@
|
|
6
6
|
if (typeof define === 'function' && define.amd) {
|
7
7
|
define(['moment'], factory); // AMD
|
8
8
|
} else if (typeof exports === 'object') {
|
9
|
-
factory(require('../moment')); // Node
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
moment.lang('th', {
|
14
|
+
return moment.lang('th', {
|
15
15
|
months : "มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),
|
16
16
|
monthsShort : "มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),
|
17
17
|
weekdays : "อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),
|
@@ -0,0 +1,58 @@
|
|
1
|
+
// moment.js language configuration
|
2
|
+
// language : Tagalog/Filipino (tl-ph)
|
3
|
+
// author : Dan Hagman
|
4
|
+
|
5
|
+
(function (factory) {
|
6
|
+
if (typeof define === 'function' && define.amd) {
|
7
|
+
define(['moment'], factory); // AMD
|
8
|
+
} else if (typeof exports === 'object') {
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
|
+
} else {
|
11
|
+
factory(window.moment); // Browser global
|
12
|
+
}
|
13
|
+
}(function (moment) {
|
14
|
+
return moment.lang('tl-ph', {
|
15
|
+
months : "Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),
|
16
|
+
monthsShort : "Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),
|
17
|
+
weekdays : "Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),
|
18
|
+
weekdaysShort : "Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),
|
19
|
+
weekdaysMin : "Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),
|
20
|
+
longDateFormat : {
|
21
|
+
LT : "HH:mm",
|
22
|
+
L : "MM/D/YYYY",
|
23
|
+
LL : "MMMM D, YYYY",
|
24
|
+
LLL : "MMMM D, YYYY LT",
|
25
|
+
LLLL : "dddd, MMMM DD, YYYY LT"
|
26
|
+
},
|
27
|
+
calendar : {
|
28
|
+
sameDay: "[Ngayon sa] LT",
|
29
|
+
nextDay: '[Bukas sa] LT',
|
30
|
+
nextWeek: 'dddd [sa] LT',
|
31
|
+
lastDay: '[Kahapon sa] LT',
|
32
|
+
lastWeek: 'dddd [huling linggo] LT',
|
33
|
+
sameElse: 'L'
|
34
|
+
},
|
35
|
+
relativeTime : {
|
36
|
+
future : "sa loob ng %s",
|
37
|
+
past : "%s ang nakalipas",
|
38
|
+
s : "ilang segundo",
|
39
|
+
m : "isang minuto",
|
40
|
+
mm : "%d minuto",
|
41
|
+
h : "isang oras",
|
42
|
+
hh : "%d oras",
|
43
|
+
d : "isang araw",
|
44
|
+
dd : "%d araw",
|
45
|
+
M : "isang buwan",
|
46
|
+
MM : "%d buwan",
|
47
|
+
y : "isang taon",
|
48
|
+
yy : "%d taon"
|
49
|
+
},
|
50
|
+
ordinal : function (number) {
|
51
|
+
return number;
|
52
|
+
},
|
53
|
+
week : {
|
54
|
+
dow : 1, // Monday is the first day of the week.
|
55
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
56
|
+
}
|
57
|
+
});
|
58
|
+
}));
|
@@ -7,7 +7,7 @@
|
|
7
7
|
if (typeof define === 'function' && define.amd) {
|
8
8
|
define(['moment'], factory); // AMD
|
9
9
|
} else if (typeof exports === 'object') {
|
10
|
-
factory(require('../moment')); // Node
|
10
|
+
module.exports = factory(require('../moment')); // Node
|
11
11
|
} else {
|
12
12
|
factory(window.moment); // Browser global
|
13
13
|
}
|
@@ -39,7 +39,7 @@
|
|
39
39
|
90: "'ıncı"
|
40
40
|
};
|
41
41
|
|
42
|
-
moment.lang('tr', {
|
42
|
+
return moment.lang('tr', {
|
43
43
|
months : "Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),
|
44
44
|
monthsShort : "Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),
|
45
45
|
weekdays : "Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),
|
@@ -6,12 +6,12 @@
|
|
6
6
|
if (typeof define === 'function' && define.amd) {
|
7
7
|
define(['moment'], factory); // AMD
|
8
8
|
} else if (typeof exports === 'object') {
|
9
|
-
factory(require('../moment')); // Node
|
9
|
+
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
moment.lang('tzm-la', {
|
14
|
+
return moment.lang('tzm-la', {
|
15
15
|
months : "innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),
|
16
16
|
monthsShort : "innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),
|
17
17
|
weekdays : "asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),
|