momentjs-rails 2.8.3 → 2.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/news.md +14 -11
- data/test/dummy/log/test.log +45 -12
- 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/{DF2/E30/sprockets%2F655dba52b71aafead92214b8d4f15dfb → D3F/5F0/sprockets%2F4a6c53eae7c6e41a69a191578bbb6417} +0 -0
- data/test/dummy/tmp/cache/assets/{D46/140/sprockets%2F547811dd40877ace277331ae79ec4efa → D58/BD0/sprockets%2F4de9ddc9b725c715a54c98697b2528fe} +0 -0
- data/test/dummy/tmp/cache/assets/{D70/7B0/sprockets%2F28ee037740c82f4b2d895db4fb4a27cc → D75/510/sprockets%2Fe690787ac522f47a6be024bfcc1767ee} +0 -0
- data/test/dummy/tmp/cache/assets/E10/250/sprockets%2Fe4badb9ddfda484eb9671bf88567be61 +0 -0
- data/test/integration/navigation_test.rb +3 -3
- data/vendor/assets/javascripts/moment.js +114 -34
- data/vendor/assets/javascripts/moment/af.js +3 -1
- data/vendor/assets/javascripts/moment/ar-ma.js +2 -1
- data/vendor/assets/javascripts/moment/ar-sa.js +3 -2
- data/vendor/assets/javascripts/moment/ar.js +3 -2
- data/vendor/assets/javascripts/moment/az.js +3 -1
- data/vendor/assets/javascripts/moment/be.js +3 -1
- data/vendor/assets/javascripts/moment/bg.js +3 -1
- data/vendor/assets/javascripts/moment/bn.js +2 -1
- data/vendor/assets/javascripts/moment/bo.js +2 -1
- data/vendor/assets/javascripts/moment/br.js +3 -1
- data/vendor/assets/javascripts/moment/bs.js +5 -3
- data/vendor/assets/javascripts/moment/ca.js +13 -2
- data/vendor/assets/javascripts/moment/cs.js +4 -2
- data/vendor/assets/javascripts/moment/cv.js +3 -1
- data/vendor/assets/javascripts/moment/cy.js +3 -1
- data/vendor/assets/javascripts/moment/da.js +3 -1
- data/vendor/assets/javascripts/moment/de-at.js +9 -7
- data/vendor/assets/javascripts/moment/de.js +9 -7
- data/vendor/assets/javascripts/moment/el.js +5 -5
- data/vendor/assets/javascripts/moment/en-au.js +3 -1
- data/vendor/assets/javascripts/moment/en-ca.js +3 -1
- data/vendor/assets/javascripts/moment/en-gb.js +3 -1
- data/vendor/assets/javascripts/moment/eo.js +3 -1
- data/vendor/assets/javascripts/moment/es.js +3 -1
- data/vendor/assets/javascripts/moment/et.js +3 -1
- data/vendor/assets/javascripts/moment/eu.js +3 -1
- data/vendor/assets/javascripts/moment/fa.js +3 -1
- data/vendor/assets/javascripts/moment/fi.js +3 -1
- data/vendor/assets/javascripts/moment/fo.js +3 -1
- data/vendor/assets/javascripts/moment/fr-ca.js +3 -1
- data/vendor/assets/javascripts/moment/fr.js +3 -1
- data/vendor/assets/javascripts/moment/gl.js +3 -1
- data/vendor/assets/javascripts/moment/he.js +2 -1
- data/vendor/assets/javascripts/moment/hi.js +2 -1
- data/vendor/assets/javascripts/moment/hr.js +3 -1
- data/vendor/assets/javascripts/moment/hu.js +3 -1
- data/vendor/assets/javascripts/moment/hy-am.js +3 -1
- data/vendor/assets/javascripts/moment/id.js +2 -1
- data/vendor/assets/javascripts/moment/is.js +3 -1
- data/vendor/assets/javascripts/moment/it.js +11 -2
- data/vendor/assets/javascripts/moment/ja.js +2 -1
- data/vendor/assets/javascripts/moment/ka.js +3 -1
- data/vendor/assets/javascripts/moment/km.js +2 -1
- data/vendor/assets/javascripts/moment/ko.js +3 -1
- data/vendor/assets/javascripts/moment/lb.js +3 -1
- data/vendor/assets/javascripts/moment/lt.js +3 -1
- data/vendor/assets/javascripts/moment/lv.js +3 -1
- data/vendor/assets/javascripts/moment/mk.js +3 -1
- data/vendor/assets/javascripts/moment/ml.js +2 -1
- data/vendor/assets/javascripts/moment/mr.js +2 -1
- data/vendor/assets/javascripts/moment/ms-my.js +2 -1
- data/vendor/assets/javascripts/moment/my.js +2 -1
- data/vendor/assets/javascripts/moment/nb.js +3 -1
- data/vendor/assets/javascripts/moment/ne.js +2 -1
- data/vendor/assets/javascripts/moment/nl.js +3 -1
- data/vendor/assets/javascripts/moment/nn.js +3 -1
- data/vendor/assets/javascripts/moment/pl.js +3 -1
- data/vendor/assets/javascripts/moment/pt-br.js +3 -1
- data/vendor/assets/javascripts/moment/pt.js +3 -1
- data/vendor/assets/javascripts/moment/ro.js +2 -1
- data/vendor/assets/javascripts/moment/ru.js +25 -15
- data/vendor/assets/javascripts/moment/sk.js +3 -1
- data/vendor/assets/javascripts/moment/sl.js +3 -1
- data/vendor/assets/javascripts/moment/sq.js +3 -1
- data/vendor/assets/javascripts/moment/sr-cyrl.js +3 -1
- data/vendor/assets/javascripts/moment/sr.js +3 -1
- data/vendor/assets/javascripts/moment/sv.js +3 -1
- data/vendor/assets/javascripts/moment/ta.js +3 -1
- data/vendor/assets/javascripts/moment/th.js +2 -1
- data/vendor/assets/javascripts/moment/tl-ph.js +3 -1
- data/vendor/assets/javascripts/moment/tr.js +3 -1
- data/vendor/assets/javascripts/moment/tzm-latn.js +2 -1
- data/vendor/assets/javascripts/moment/tzm.js +2 -1
- data/vendor/assets/javascripts/moment/uk.js +3 -1
- data/vendor/assets/javascripts/moment/uz.js +2 -1
- data/vendor/assets/javascripts/moment/vi.js +3 -1
- data/vendor/assets/javascripts/moment/zh-cn.js +3 -1
- data/vendor/assets/javascripts/moment/zh-tw.js +3 -1
- metadata +15 -19
- data/test/dummy/tmp/cache/assets/C4B/F20/sprockets%2F2a0b419661537b349a21d41ba3988990 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/220/sprockets%2F8f4a628d82d9413ed7c75e8b373c9ab2 +0 -0
- data/test/dummy/tmp/cache/assets/E2B/3C0/sprockets%2Fd3a4fe71f7e32ca82bfabb6d7ef41f34 +0 -0
- data/vendor/assets/javascripts/moment/rs.js +0 -139
- data/vendor/assets/javascripts/moment/sr-cyr.js +0 -106
- data/vendor/assets/javascripts/moment/tzm-la.js +0 -55
- data/vendor/assets/javascripts/moment/vn.js +0 -62
@@ -9,7 +9,7 @@
|
|
9
9
|
} else if (typeof exports === 'object') {
|
10
10
|
module.exports = factory(require('../moment')); // Node
|
11
11
|
} else {
|
12
|
-
factory(
|
12
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
13
13
|
}
|
14
14
|
}(function (moment) {
|
15
15
|
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
@@ -33,19 +33,20 @@
|
|
33
33
|
weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
|
34
34
|
weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
|
35
35
|
longDateFormat : {
|
36
|
-
LT: 'HH:mm
|
36
|
+
LT: 'HH:mm',
|
37
|
+
LTS: 'HH:mm:ss',
|
37
38
|
L : 'DD.MM.YYYY',
|
38
39
|
LL : 'D. MMMM YYYY',
|
39
40
|
LLL : 'D. MMMM YYYY LT',
|
40
41
|
LLLL : 'dddd, D. MMMM YYYY LT'
|
41
42
|
},
|
42
43
|
calendar : {
|
43
|
-
sameDay: '[Heute um] LT',
|
44
|
+
sameDay: '[Heute um] LT [Uhr]',
|
44
45
|
sameElse: 'L',
|
45
|
-
nextDay: '[Morgen um] LT',
|
46
|
-
nextWeek: 'dddd [um] LT',
|
47
|
-
lastDay: '[Gestern um] LT',
|
48
|
-
lastWeek: '[letzten] dddd [um] LT'
|
46
|
+
nextDay: '[Morgen um] LT [Uhr]',
|
47
|
+
nextWeek: 'dddd [um] LT [Uhr]',
|
48
|
+
lastDay: '[Gestern um] LT [Uhr]',
|
49
|
+
lastWeek: '[letzten] dddd [um] LT [Uhr]'
|
49
50
|
},
|
50
51
|
relativeTime : {
|
51
52
|
future : 'in %s',
|
@@ -62,6 +63,7 @@
|
|
62
63
|
y : processRelativeTime,
|
63
64
|
yy : processRelativeTime
|
64
65
|
},
|
66
|
+
ordinalParse: /\d{1,2}\./,
|
65
67
|
ordinal : '%d.',
|
66
68
|
week : {
|
67
69
|
dow : 1, // Monday is the first day of the week.
|
@@ -8,7 +8,7 @@
|
|
8
8
|
} else if (typeof exports === 'object') {
|
9
9
|
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
|
-
factory(
|
11
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
return moment.defineLocale('el', {
|
@@ -38,6 +38,7 @@
|
|
38
38
|
meridiemParse : /[ΠΜ]\.?Μ?\.?/i,
|
39
39
|
longDateFormat : {
|
40
40
|
LT : 'h:mm A',
|
41
|
+
LTS : 'h:mm:ss A',
|
41
42
|
L : 'DD/MM/YYYY',
|
42
43
|
LL : 'D MMMM YYYY',
|
43
44
|
LLL : 'D MMMM YYYY LT',
|
@@ -71,7 +72,7 @@
|
|
71
72
|
relativeTime : {
|
72
73
|
future : 'σε %s',
|
73
74
|
past : '%s πριν',
|
74
|
-
s : 'δευτερόλεπτα',
|
75
|
+
s : 'λίγα δευτερόλεπτα',
|
75
76
|
m : 'ένα λεπτό',
|
76
77
|
mm : '%d λεπτά',
|
77
78
|
h : 'μία ώρα',
|
@@ -83,9 +84,8 @@
|
|
83
84
|
y : 'ένας χρόνος',
|
84
85
|
yy : '%d χρόνια'
|
85
86
|
},
|
86
|
-
|
87
|
-
|
88
|
-
},
|
87
|
+
ordinalParse: /\d{1,2}η/,
|
88
|
+
ordinal: '%dη',
|
89
89
|
week : {
|
90
90
|
dow : 1, // Monday is the first day of the week.
|
91
91
|
doy : 4 // The week that contains Jan 4st is the first week of the year.
|
@@ -7,7 +7,7 @@
|
|
7
7
|
} else if (typeof exports === 'object') {
|
8
8
|
module.exports = factory(require('../moment')); // Node
|
9
9
|
} else {
|
10
|
-
factory(
|
10
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
11
11
|
}
|
12
12
|
}(function (moment) {
|
13
13
|
return moment.defineLocale('en-au', {
|
@@ -18,6 +18,7 @@
|
|
18
18
|
weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
19
19
|
longDateFormat : {
|
20
20
|
LT : 'h:mm A',
|
21
|
+
LTS : 'h:mm:ss A',
|
21
22
|
L : 'DD/MM/YYYY',
|
22
23
|
LL : 'D MMMM YYYY',
|
23
24
|
LLL : 'D MMMM YYYY LT',
|
@@ -46,6 +47,7 @@
|
|
46
47
|
y : 'a year',
|
47
48
|
yy : '%d years'
|
48
49
|
},
|
50
|
+
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
|
49
51
|
ordinal : function (number) {
|
50
52
|
var b = number % 10,
|
51
53
|
output = (~~(number % 100 / 10) === 1) ? 'th' :
|
@@ -8,7 +8,7 @@
|
|
8
8
|
} else if (typeof exports === 'object') {
|
9
9
|
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
|
-
factory(
|
11
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
return moment.defineLocale('en-ca', {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
20
20
|
longDateFormat : {
|
21
21
|
LT : 'h:mm A',
|
22
|
+
LTS : 'h:mm:ss A',
|
22
23
|
L : 'YYYY-MM-DD',
|
23
24
|
LL : 'D MMMM, YYYY',
|
24
25
|
LLL : 'D MMMM, YYYY LT',
|
@@ -47,6 +48,7 @@
|
|
47
48
|
y : 'a year',
|
48
49
|
yy : '%d years'
|
49
50
|
},
|
51
|
+
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
|
50
52
|
ordinal : function (number) {
|
51
53
|
var b = number % 10,
|
52
54
|
output = (~~(number % 100 / 10) === 1) ? 'th' :
|
@@ -8,7 +8,7 @@
|
|
8
8
|
} else if (typeof exports === 'object') {
|
9
9
|
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
|
-
factory(
|
11
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
return moment.defineLocale('en-gb', {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
20
20
|
longDateFormat : {
|
21
21
|
LT : 'HH:mm',
|
22
|
+
LTS : 'HH:mm:ss',
|
22
23
|
L : 'DD/MM/YYYY',
|
23
24
|
LL : 'D MMMM YYYY',
|
24
25
|
LLL : 'D MMMM YYYY LT',
|
@@ -47,6 +48,7 @@
|
|
47
48
|
y : 'a year',
|
48
49
|
yy : '%d years'
|
49
50
|
},
|
51
|
+
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
|
50
52
|
ordinal : function (number) {
|
51
53
|
var b = number % 10,
|
52
54
|
output = (~~(number % 100 / 10) === 1) ? 'th' :
|
@@ -10,7 +10,7 @@
|
|
10
10
|
} else if (typeof exports === 'object') {
|
11
11
|
module.exports = factory(require('../moment')); // Node
|
12
12
|
} else {
|
13
|
-
factory(
|
13
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
14
14
|
}
|
15
15
|
}(function (moment) {
|
16
16
|
return moment.defineLocale('eo', {
|
@@ -21,6 +21,7 @@
|
|
21
21
|
weekdaysMin : 'Di_Lu_Ma_Me_Ĵa_Ve_Sa'.split('_'),
|
22
22
|
longDateFormat : {
|
23
23
|
LT : 'HH:mm',
|
24
|
+
LTS : 'LT:ss',
|
24
25
|
L : 'YYYY-MM-DD',
|
25
26
|
LL : 'D[-an de] MMMM, YYYY',
|
26
27
|
LLL : 'D[-an de] MMMM, YYYY LT',
|
@@ -56,6 +57,7 @@
|
|
56
57
|
y : 'jaro',
|
57
58
|
yy : '%d jaroj'
|
58
59
|
},
|
60
|
+
ordinalParse: /\d{1,2}a/,
|
59
61
|
ordinal : '%da',
|
60
62
|
week : {
|
61
63
|
dow : 1, // Monday is the first day of the week.
|
@@ -8,7 +8,7 @@
|
|
8
8
|
} else if (typeof exports === 'object') {
|
9
9
|
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
|
-
factory(
|
11
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
|
@@ -28,6 +28,7 @@
|
|
28
28
|
weekdaysMin : 'Do_Lu_Ma_Mi_Ju_Vi_Sá'.split('_'),
|
29
29
|
longDateFormat : {
|
30
30
|
LT : 'H:mm',
|
31
|
+
LTS : 'LT:ss',
|
31
32
|
L : 'DD/MM/YYYY',
|
32
33
|
LL : 'D [de] MMMM [de] YYYY',
|
33
34
|
LLL : 'D [de] MMMM [de] YYYY LT',
|
@@ -66,6 +67,7 @@
|
|
66
67
|
y : 'un año',
|
67
68
|
yy : '%d años'
|
68
69
|
},
|
70
|
+
ordinalParse : /\d{1,2}º/,
|
69
71
|
ordinal : '%dº',
|
70
72
|
week : {
|
71
73
|
dow : 1, // Monday is the first day of the week.
|
@@ -9,7 +9,7 @@
|
|
9
9
|
} else if (typeof exports === 'object') {
|
10
10
|
module.exports = factory(require('../moment')); // Node
|
11
11
|
} else {
|
12
|
-
factory(
|
12
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
13
13
|
}
|
14
14
|
}(function (moment) {
|
15
15
|
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
@@ -39,6 +39,7 @@
|
|
39
39
|
weekdaysMin : 'P_E_T_K_N_R_L'.split('_'),
|
40
40
|
longDateFormat : {
|
41
41
|
LT : 'H:mm',
|
42
|
+
LTS : 'LT:ss',
|
42
43
|
L : 'DD.MM.YYYY',
|
43
44
|
LL : 'D. MMMM YYYY',
|
44
45
|
LLL : 'D. MMMM YYYY LT',
|
@@ -67,6 +68,7 @@
|
|
67
68
|
y : processRelativeTime,
|
68
69
|
yy : processRelativeTime
|
69
70
|
},
|
71
|
+
ordinalParse: /\d{1,2}\./,
|
70
72
|
ordinal : '%d.',
|
71
73
|
week : {
|
72
74
|
dow : 1, // Monday is the first day of the week.
|
@@ -8,7 +8,7 @@
|
|
8
8
|
} else if (typeof exports === 'object') {
|
9
9
|
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
|
-
factory(
|
11
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
return moment.defineLocale('eu', {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
weekdaysMin : 'ig_al_ar_az_og_ol_lr'.split('_'),
|
20
20
|
longDateFormat : {
|
21
21
|
LT : 'HH:mm',
|
22
|
+
LTS : 'LT:ss',
|
22
23
|
L : 'YYYY-MM-DD',
|
23
24
|
LL : 'YYYY[ko] MMMM[ren] D[a]',
|
24
25
|
LLL : 'YYYY[ko] MMMM[ren] D[a] LT',
|
@@ -51,6 +52,7 @@
|
|
51
52
|
y : 'urte bat',
|
52
53
|
yy : '%d urte'
|
53
54
|
},
|
55
|
+
ordinalParse: /\d{1,2}\./,
|
54
56
|
ordinal : '%d.',
|
55
57
|
week : {
|
56
58
|
dow : 1, // Monday is the first day of the week.
|
@@ -8,7 +8,7 @@
|
|
8
8
|
} else if (typeof exports === 'object') {
|
9
9
|
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
|
-
factory(
|
11
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
var symbolMap = {
|
@@ -43,6 +43,7 @@
|
|
43
43
|
weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'),
|
44
44
|
longDateFormat : {
|
45
45
|
LT : 'HH:mm',
|
46
|
+
LTS : 'LT:ss',
|
46
47
|
L : 'DD/MM/YYYY',
|
47
48
|
LL : 'D MMMM YYYY',
|
48
49
|
LLL : 'D MMMM YYYY LT',
|
@@ -88,6 +89,7 @@
|
|
88
89
|
return symbolMap[match];
|
89
90
|
}).replace(/,/g, '،');
|
90
91
|
},
|
92
|
+
ordinalParse: /\d{1,2}م/,
|
91
93
|
ordinal : '%dم',
|
92
94
|
week : {
|
93
95
|
dow : 6, // Saturday is the first day of the week.
|
@@ -8,7 +8,7 @@
|
|
8
8
|
} else if (typeof exports === 'object') {
|
9
9
|
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
|
-
factory(
|
11
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '),
|
@@ -64,6 +64,7 @@
|
|
64
64
|
weekdaysMin : 'su_ma_ti_ke_to_pe_la'.split('_'),
|
65
65
|
longDateFormat : {
|
66
66
|
LT : 'HH.mm',
|
67
|
+
LTS : 'HH.mm.ss',
|
67
68
|
L : 'DD.MM.YYYY',
|
68
69
|
LL : 'Do MMMM[ta] YYYY',
|
69
70
|
LLL : 'Do MMMM[ta] YYYY, [klo] LT',
|
@@ -96,6 +97,7 @@
|
|
96
97
|
y : translate,
|
97
98
|
yy : translate
|
98
99
|
},
|
100
|
+
ordinalParse: /\d{1,2}\./,
|
99
101
|
ordinal : '%d.',
|
100
102
|
week : {
|
101
103
|
dow : 1, // Monday is the first day of the week.
|
@@ -8,7 +8,7 @@
|
|
8
8
|
} else if (typeof exports === 'object') {
|
9
9
|
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
|
-
factory(
|
11
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
return moment.defineLocale('fo', {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
weekdaysMin : 'su_má_tý_mi_hó_fr_le'.split('_'),
|
20
20
|
longDateFormat : {
|
21
21
|
LT : 'HH:mm',
|
22
|
+
LTS : 'LT:ss',
|
22
23
|
L : 'DD/MM/YYYY',
|
23
24
|
LL : 'D MMMM YYYY',
|
24
25
|
LLL : 'D MMMM YYYY LT',
|
@@ -47,6 +48,7 @@
|
|
47
48
|
y : 'eitt ár',
|
48
49
|
yy : '%d ár'
|
49
50
|
},
|
51
|
+
ordinalParse: /\d{1,2}\./,
|
50
52
|
ordinal : '%d.',
|
51
53
|
week : {
|
52
54
|
dow : 1, // Monday is the first day of the week.
|
@@ -8,7 +8,7 @@
|
|
8
8
|
} else if (typeof exports === 'object') {
|
9
9
|
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
|
-
factory(
|
11
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
return moment.defineLocale('fr-ca', {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
|
20
20
|
longDateFormat : {
|
21
21
|
LT : 'HH:mm',
|
22
|
+
LTS : 'LT:ss',
|
22
23
|
L : 'YYYY-MM-DD',
|
23
24
|
LL : 'D MMMM YYYY',
|
24
25
|
LLL : 'D MMMM YYYY LT',
|
@@ -47,6 +48,7 @@
|
|
47
48
|
y : 'un an',
|
48
49
|
yy : '%d ans'
|
49
50
|
},
|
51
|
+
ordinalParse: /\d{1,2}(er|)/,
|
50
52
|
ordinal : function (number) {
|
51
53
|
return number + (number === 1 ? 'er' : '');
|
52
54
|
}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
} else if (typeof exports === 'object') {
|
9
9
|
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
|
-
factory(
|
11
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
return moment.defineLocale('fr', {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
|
20
20
|
longDateFormat : {
|
21
21
|
LT : 'HH:mm',
|
22
|
+
LTS : 'LT:ss',
|
22
23
|
L : 'DD/MM/YYYY',
|
23
24
|
LL : 'D MMMM YYYY',
|
24
25
|
LLL : 'D MMMM YYYY LT',
|
@@ -47,6 +48,7 @@
|
|
47
48
|
y : 'un an',
|
48
49
|
yy : '%d ans'
|
49
50
|
},
|
51
|
+
ordinalParse: /\d{1,2}(er|)/,
|
50
52
|
ordinal : function (number) {
|
51
53
|
return number + (number === 1 ? 'er' : '');
|
52
54
|
},
|
@@ -8,7 +8,7 @@
|
|
8
8
|
} else if (typeof exports === 'object') {
|
9
9
|
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
|
-
factory(
|
11
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
return moment.defineLocale('gl', {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
weekdaysMin : 'Do_Lu_Ma_Mé_Xo_Ve_Sá'.split('_'),
|
20
20
|
longDateFormat : {
|
21
21
|
LT : 'H:mm',
|
22
|
+
LTS : 'LT:ss',
|
22
23
|
L : 'DD/MM/YYYY',
|
23
24
|
LL : 'D MMMM YYYY',
|
24
25
|
LLL : 'D MMMM YYYY LT',
|
@@ -62,6 +63,7 @@
|
|
62
63
|
y : 'un ano',
|
63
64
|
yy : '%d anos'
|
64
65
|
},
|
66
|
+
ordinalParse : /\d{1,2}º/,
|
65
67
|
ordinal : '%dº',
|
66
68
|
week : {
|
67
69
|
dow : 1, // Monday is the first day of the week.
|
@@ -10,7 +10,7 @@
|
|
10
10
|
} else if (typeof exports === 'object') {
|
11
11
|
module.exports = factory(require('../moment')); // Node
|
12
12
|
} else {
|
13
|
-
factory(
|
13
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
14
14
|
}
|
15
15
|
}(function (moment) {
|
16
16
|
return moment.defineLocale('he', {
|
@@ -21,6 +21,7 @@
|
|
21
21
|
weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'),
|
22
22
|
longDateFormat : {
|
23
23
|
LT : 'HH:mm',
|
24
|
+
LTS : 'LT:ss',
|
24
25
|
L : 'DD/MM/YYYY',
|
25
26
|
LL : 'D [ב]MMMM YYYY',
|
26
27
|
LLL : 'D [ב]MMMM YYYY LT',
|
@@ -8,7 +8,7 @@
|
|
8
8
|
} else if (typeof exports === 'object') {
|
9
9
|
module.exports = factory(require('../moment')); // Node
|
10
10
|
} else {
|
11
|
-
factory(
|
11
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
var symbolMap = {
|
@@ -44,6 +44,7 @@
|
|
44
44
|
weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),
|
45
45
|
longDateFormat : {
|
46
46
|
LT : 'A h:mm बजे',
|
47
|
+
LTS : 'A h:mm:ss बजे',
|
47
48
|
L : 'DD/MM/YYYY',
|
48
49
|
LL : 'D MMMM YYYY',
|
49
50
|
LLL : 'D MMMM YYYY, LT',
|
@@ -10,7 +10,7 @@
|
|
10
10
|
} else if (typeof exports === 'object') {
|
11
11
|
module.exports = factory(require('../moment')); // Node
|
12
12
|
} else {
|
13
|
-
factory(
|
13
|
+
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
14
14
|
}
|
15
15
|
}(function (moment) {
|
16
16
|
function translate(number, withoutSuffix, key) {
|
@@ -74,6 +74,7 @@
|
|
74
74
|
weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),
|
75
75
|
longDateFormat : {
|
76
76
|
LT : 'H:mm',
|
77
|
+
LTS : 'LT:ss',
|
77
78
|
L : 'DD. MM. YYYY',
|
78
79
|
LL : 'D. MMMM YYYY',
|
79
80
|
LLL : 'D. MMMM YYYY LT',
|
@@ -130,6 +131,7 @@
|
|
130
131
|
y : 'godinu',
|
131
132
|
yy : translate
|
132
133
|
},
|
134
|
+
ordinalParse: /\d{1,2}\./,
|
133
135
|
ordinal : '%d.',
|
134
136
|
week : {
|
135
137
|
dow : 1, // Monday is the first day of the week.
|