momentjs-rails 2.9.0 → 2.10.2
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 -2
- data/news.md +3 -0
- data/test/dummy/log/test.log +20 -0
- 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 +2475 -2435
- data/vendor/assets/javascripts/moment/af.js +15 -14
- data/vendor/assets/javascripts/moment/ar-ma.js +16 -15
- data/vendor/assets/javascripts/moment/ar-sa.js +15 -14
- data/vendor/assets/javascripts/moment/ar-tn.js +14 -13
- data/vendor/assets/javascripts/moment/ar.js +17 -16
- data/vendor/assets/javascripts/moment/az.js +16 -20
- data/vendor/assets/javascripts/moment/be.js +17 -25
- data/vendor/assets/javascripts/moment/bg.js +15 -14
- data/vendor/assets/javascripts/moment/bn.js +15 -14
- data/vendor/assets/javascripts/moment/bo.js +15 -14
- data/vendor/assets/javascripts/moment/br.js +15 -18
- data/vendor/assets/javascripts/moment/bs.js +16 -16
- data/vendor/assets/javascripts/moment/ca.js +15 -14
- data/vendor/assets/javascripts/moment/cs.js +15 -16
- data/vendor/assets/javascripts/moment/cv.js +15 -14
- data/vendor/assets/javascripts/moment/cy.js +15 -16
- data/vendor/assets/javascripts/moment/da.js +15 -14
- data/vendor/assets/javascripts/moment/de-at.js +17 -16
- data/vendor/assets/javascripts/moment/de.js +16 -15
- data/vendor/assets/javascripts/moment/el.js +15 -16
- data/vendor/assets/javascripts/moment/en-au.js +14 -13
- data/vendor/assets/javascripts/moment/en-ca.js +15 -14
- data/vendor/assets/javascripts/moment/en-gb.js +15 -14
- data/vendor/assets/javascripts/moment/eo.js +17 -16
- data/vendor/assets/javascripts/moment/es.js +15 -14
- data/vendor/assets/javascripts/moment/et.js +16 -15
- data/vendor/assets/javascripts/moment/eu.js +15 -14
- data/vendor/assets/javascripts/moment/fa.js +15 -14
- data/vendor/assets/javascripts/moment/fi.js +15 -16
- data/vendor/assets/javascripts/moment/fo.js +15 -14
- data/vendor/assets/javascripts/moment/fr-ca.js +15 -14
- data/vendor/assets/javascripts/moment/fr.js +15 -14
- data/vendor/assets/javascripts/moment/fy.js +15 -14
- data/vendor/assets/javascripts/moment/gl.js +15 -14
- data/vendor/assets/javascripts/moment/he.js +17 -16
- data/vendor/assets/javascripts/moment/hi.js +15 -14
- data/vendor/assets/javascripts/moment/hr.js +14 -16
- data/vendor/assets/javascripts/moment/hu.js +15 -18
- data/vendor/assets/javascripts/moment/hy-am.js +15 -23
- data/vendor/assets/javascripts/moment/id.js +16 -15
- data/vendor/assets/javascripts/moment/is.js +15 -15
- data/vendor/assets/javascripts/moment/it.js +16 -15
- data/vendor/assets/javascripts/moment/ja.js +15 -14
- data/vendor/assets/javascripts/moment/ka.js +15 -22
- data/vendor/assets/javascripts/moment/km.js +15 -14
- data/vendor/assets/javascripts/moment/ko.js +20 -18
- data/vendor/assets/javascripts/moment/lb.js +14 -20
- data/vendor/assets/javascripts/moment/lt.js +15 -21
- data/vendor/assets/javascripts/moment/lv.js +15 -16
- data/vendor/assets/javascripts/moment/mk.js +15 -14
- data/vendor/assets/javascripts/moment/ml.js +15 -14
- data/vendor/assets/javascripts/moment/mr.js +16 -16
- data/vendor/assets/javascripts/moment/ms-my.js +15 -14
- data/vendor/assets/javascripts/moment/my.js +16 -14
- data/vendor/assets/javascripts/moment/nb.js +16 -15
- data/vendor/assets/javascripts/moment/ne.js +15 -14
- data/vendor/assets/javascripts/moment/nl.js +15 -14
- data/vendor/assets/javascripts/moment/nn.js +15 -14
- data/vendor/assets/javascripts/moment/pl.js +15 -16
- data/vendor/assets/javascripts/moment/pt-br.js +15 -14
- data/vendor/assets/javascripts/moment/pt.js +15 -14
- data/vendor/assets/javascripts/moment/ro.js +16 -16
- data/vendor/assets/javascripts/moment/ru.js +16 -29
- data/vendor/assets/javascripts/moment/sk.js +16 -17
- data/vendor/assets/javascripts/moment/sl.js +15 -15
- data/vendor/assets/javascripts/moment/sq.js +17 -16
- data/vendor/assets/javascripts/moment/sr-cyrl.js +15 -15
- data/vendor/assets/javascripts/moment/sr.js +15 -15
- data/vendor/assets/javascripts/moment/sv.js +15 -14
- data/vendor/assets/javascripts/moment/ta.js +14 -50
- data/vendor/assets/javascripts/moment/th.js +15 -14
- data/vendor/assets/javascripts/moment/tl-ph.js +15 -14
- data/vendor/assets/javascripts/moment/tr.js +16 -21
- data/vendor/assets/javascripts/moment/tzm-latn.js +15 -14
- data/vendor/assets/javascripts/moment/tzm.js +15 -14
- data/vendor/assets/javascripts/moment/uk.js +16 -27
- data/vendor/assets/javascripts/moment/uz.js +15 -14
- data/vendor/assets/javascripts/moment/vi.js +15 -14
- data/vendor/assets/javascripts/moment/zh-cn.js +16 -15
- data/vendor/assets/javascripts/moment/zh-tw.js +15 -14
- metadata +2 -2
@@ -1,17 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : macedonian (mk)
|
3
|
+
//! author : Borislav Mickov : https://github.com/B0k0
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}(function (moment) {
|
14
|
-
return moment.defineLocale('mk', {
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
7
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
factory(global.moment)
|
9
|
+
}(this, function (moment) { 'use strict';
|
10
|
+
|
11
|
+
|
12
|
+
var mk = moment.defineLocale('mk', {
|
15
13
|
months : 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'),
|
16
14
|
monthsShort : 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
|
17
15
|
weekdays : 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'),
|
@@ -85,4 +83,7 @@
|
|
85
83
|
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
86
84
|
}
|
87
85
|
});
|
88
|
-
|
86
|
+
|
87
|
+
return mk;
|
88
|
+
|
89
|
+
}));
|
@@ -1,17 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : malayalam (ml)
|
3
|
+
//! author : Floyd Pink : https://github.com/floydpink
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}(function (moment) {
|
14
|
-
return moment.defineLocale('ml', {
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
7
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
factory(global.moment)
|
9
|
+
}(this, function (moment) { 'use strict';
|
10
|
+
|
11
|
+
|
12
|
+
var ml = moment.defineLocale('ml', {
|
15
13
|
months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'),
|
16
14
|
monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'),
|
17
15
|
weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'),
|
@@ -66,4 +64,7 @@
|
|
66
64
|
}
|
67
65
|
}
|
68
66
|
});
|
69
|
-
|
67
|
+
|
68
|
+
return ml;
|
69
|
+
|
70
|
+
}));
|
@@ -1,16 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Marathi (mr)
|
3
|
+
//! author : Harshad Kale : https://github.com/kalehv
|
4
|
+
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
7
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
factory(global.moment)
|
9
|
+
}(this, function (moment) { 'use strict';
|
10
|
+
|
4
11
|
|
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((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
12
|
var symbolMap = {
|
15
13
|
'1': '१',
|
16
14
|
'2': '२',
|
@@ -36,7 +34,7 @@
|
|
36
34
|
'०': '0'
|
37
35
|
};
|
38
36
|
|
39
|
-
|
37
|
+
var mr = moment.defineLocale('mr', {
|
40
38
|
months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),
|
41
39
|
monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),
|
42
40
|
weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
|
@@ -98,8 +96,7 @@
|
|
98
96
|
return hour + 12;
|
99
97
|
}
|
100
98
|
},
|
101
|
-
meridiem: function (hour, minute, isLower)
|
102
|
-
{
|
99
|
+
meridiem: function (hour, minute, isLower) {
|
103
100
|
if (hour < 4) {
|
104
101
|
return 'रात्री';
|
105
102
|
} else if (hour < 10) {
|
@@ -117,4 +114,7 @@
|
|
117
114
|
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
118
115
|
}
|
119
116
|
});
|
120
|
-
|
117
|
+
|
118
|
+
return mr;
|
119
|
+
|
120
|
+
}));
|
@@ -1,17 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Bahasa Malaysia (ms-MY)
|
3
|
+
//! author : Weldan Jamili : https://github.com/weldan
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}(function (moment) {
|
14
|
-
return moment.defineLocale('ms-my', {
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
7
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
factory(global.moment)
|
9
|
+
}(this, function (moment) { 'use strict';
|
10
|
+
|
11
|
+
|
12
|
+
var ms_my = moment.defineLocale('ms-my', {
|
15
13
|
months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
|
16
14
|
monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
|
17
15
|
weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
|
@@ -77,4 +75,7 @@
|
|
77
75
|
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
78
76
|
}
|
79
77
|
});
|
80
|
-
|
78
|
+
|
79
|
+
return ms_my;
|
80
|
+
|
81
|
+
}));
|
@@ -1,16 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Burmese (my)
|
3
|
+
//! author : Squar team, mysquar.com
|
4
|
+
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
7
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
factory(global.moment)
|
9
|
+
}(this, function (moment) { 'use strict';
|
10
|
+
|
4
11
|
|
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((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
12
|
var symbolMap = {
|
15
13
|
'1': '၁',
|
16
14
|
'2': '၂',
|
@@ -34,7 +32,8 @@
|
|
34
32
|
'၉': '9',
|
35
33
|
'၀': '0'
|
36
34
|
};
|
37
|
-
|
35
|
+
|
36
|
+
var my = moment.defineLocale('my', {
|
38
37
|
months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'),
|
39
38
|
monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
|
40
39
|
weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'),
|
@@ -86,4 +85,7 @@
|
|
86
85
|
doy: 4 // The week that contains Jan 1st is the first week of the year.
|
87
86
|
}
|
88
87
|
});
|
89
|
-
|
88
|
+
|
89
|
+
return my;
|
90
|
+
|
91
|
+
}));
|
@@ -1,18 +1,16 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : norwegian bokmål (nb)
|
3
|
+
//! authors : Espen Hovlandsdal : https://github.com/rexxars
|
4
|
+
//! Sigurd Gartmann : https://github.com/sigurdga
|
5
5
|
|
6
|
-
(function (factory) {
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
}(function (moment) {
|
15
|
-
return moment.defineLocale('nb', {
|
6
|
+
(function (global, factory) {
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
9
|
+
factory(global.moment)
|
10
|
+
}(this, function (moment) { 'use strict';
|
11
|
+
|
12
|
+
|
13
|
+
var nb = moment.defineLocale('nb', {
|
16
14
|
months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
|
17
15
|
monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
|
18
16
|
weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
|
@@ -56,4 +54,7 @@
|
|
56
54
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
57
55
|
}
|
58
56
|
});
|
59
|
-
|
57
|
+
|
58
|
+
return nb;
|
59
|
+
|
60
|
+
}));
|
@@ -1,16 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : nepali/nepalese
|
3
|
+
//! author : suvash : https://github.com/suvash
|
4
|
+
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
7
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
factory(global.moment)
|
9
|
+
}(this, function (moment) { 'use strict';
|
10
|
+
|
4
11
|
|
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((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
12
|
var symbolMap = {
|
15
13
|
'1': '१',
|
16
14
|
'2': '२',
|
@@ -36,7 +34,7 @@
|
|
36
34
|
'०': '0'
|
37
35
|
};
|
38
36
|
|
39
|
-
|
37
|
+
var ne = moment.defineLocale('ne', {
|
40
38
|
months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),
|
41
39
|
monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),
|
42
40
|
weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),
|
@@ -118,4 +116,7 @@
|
|
118
116
|
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
119
117
|
}
|
120
118
|
});
|
121
|
-
|
119
|
+
|
120
|
+
return ne;
|
121
|
+
|
122
|
+
}));
|
@@ -1,20 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : dutch (nl)
|
3
|
+
//! author : Joris Röling : https://github.com/jjupiter
|
4
|
+
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
7
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
factory(global.moment)
|
9
|
+
}(this, function (moment) { 'use strict';
|
10
|
+
|
4
11
|
|
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((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
12
|
var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
|
15
13
|
monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
|
16
14
|
|
17
|
-
|
15
|
+
var nl = moment.defineLocale('nl', {
|
18
16
|
months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
|
19
17
|
monthsShort : function (m, format) {
|
20
18
|
if (/-MMM-/.test(format)) {
|
@@ -66,4 +64,7 @@
|
|
66
64
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
67
65
|
}
|
68
66
|
});
|
69
|
-
|
67
|
+
|
68
|
+
return nl;
|
69
|
+
|
70
|
+
}));
|
@@ -1,17 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : norwegian nynorsk (nn)
|
3
|
+
//! author : https://github.com/mechuwind
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}(function (moment) {
|
14
|
-
return moment.defineLocale('nn', {
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
7
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
factory(global.moment)
|
9
|
+
}(this, function (moment) { 'use strict';
|
10
|
+
|
11
|
+
|
12
|
+
var nn = moment.defineLocale('nn', {
|
15
13
|
months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
|
16
14
|
monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
|
17
15
|
weekdays : 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
|
@@ -55,4 +53,7 @@
|
|
55
53
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
56
54
|
}
|
57
55
|
});
|
58
|
-
|
56
|
+
|
57
|
+
return nn;
|
58
|
+
|
59
|
+
}));
|
@@ -1,23 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : polish (pl)
|
3
|
+
//! author : Rafal Hirsz : https://github.com/evoL
|
4
|
+
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
7
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
factory(global.moment)
|
9
|
+
}(this, function (moment) { 'use strict';
|
10
|
+
|
4
11
|
|
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((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
12
|
var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'),
|
15
13
|
monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_');
|
16
|
-
|
17
14
|
function plural(n) {
|
18
15
|
return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1);
|
19
16
|
}
|
20
|
-
|
21
17
|
function translate(number, withoutSuffix, key) {
|
22
18
|
var result = number + ' ';
|
23
19
|
switch (key) {
|
@@ -36,7 +32,7 @@
|
|
36
32
|
}
|
37
33
|
}
|
38
34
|
|
39
|
-
|
35
|
+
var pl = moment.defineLocale('pl', {
|
40
36
|
months : function (momentToFormat, format) {
|
41
37
|
if (/D MMMM/.test(format)) {
|
42
38
|
return monthsSubjective[momentToFormat.month()];
|
@@ -97,4 +93,7 @@
|
|
97
93
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
98
94
|
}
|
99
95
|
});
|
100
|
-
|
96
|
+
|
97
|
+
return pl;
|
98
|
+
|
99
|
+
}));
|
@@ -1,17 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : brazilian portuguese (pt-br)
|
3
|
+
//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}(function (moment) {
|
14
|
-
return moment.defineLocale('pt-br', {
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
7
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
factory(global.moment)
|
9
|
+
}(this, function (moment) { 'use strict';
|
10
|
+
|
11
|
+
|
12
|
+
var pt_br = moment.defineLocale('pt-br', {
|
15
13
|
months : 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'),
|
16
14
|
monthsShort : 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
|
17
15
|
weekdays : 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split('_'),
|
@@ -55,4 +53,7 @@
|
|
55
53
|
ordinalParse: /\d{1,2}º/,
|
56
54
|
ordinal : '%dº'
|
57
55
|
});
|
58
|
-
|
56
|
+
|
57
|
+
return pt_br;
|
58
|
+
|
59
|
+
}));
|