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
@@ -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('nn', {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
weekdaysMin : 'su_må_ty_on_to_fr_lø'.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 : 'eit å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
|
var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'),
|
@@ -50,6 +50,7 @@
|
|
50
50
|
weekdaysMin : 'N_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
|
51
51
|
longDateFormat : {
|
52
52
|
LT : 'HH:mm',
|
53
|
+
LTS : 'LT:ss',
|
53
54
|
L : 'DD.MM.YYYY',
|
54
55
|
LL : 'D MMMM YYYY',
|
55
56
|
LLL : 'D MMMM YYYY LT',
|
@@ -89,6 +90,7 @@
|
|
89
90
|
y : 'rok',
|
90
91
|
yy : translate
|
91
92
|
},
|
93
|
+
ordinalParse: /\d{1,2}\./,
|
92
94
|
ordinal : '%d.',
|
93
95
|
week : {
|
94
96
|
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('pt-br', {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
weekdaysMin : 'dom_2ª_3ª_4ª_5ª_6ª_sáb'.split('_'),
|
20
20
|
longDateFormat : {
|
21
21
|
LT : 'HH:mm',
|
22
|
+
LTS : 'LT:ss',
|
22
23
|
L : 'DD/MM/YYYY',
|
23
24
|
LL : 'D [de] MMMM [de] YYYY',
|
24
25
|
LLL : 'D [de] MMMM [de] YYYY [às] LT',
|
@@ -51,6 +52,7 @@
|
|
51
52
|
y : 'um ano',
|
52
53
|
yy : '%d anos'
|
53
54
|
},
|
55
|
+
ordinalParse: /\d{1,2}º/,
|
54
56
|
ordinal : '%dº'
|
55
57
|
});
|
56
58
|
}));
|
@@ -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('pt', {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
weekdaysMin : 'dom_2ª_3ª_4ª_5ª_6ª_sáb'.split('_'),
|
20
20
|
longDateFormat : {
|
21
21
|
LT : 'HH:mm',
|
22
|
+
LTS : 'LT:ss',
|
22
23
|
L : 'DD/MM/YYYY',
|
23
24
|
LL : 'D [de] MMMM [de] YYYY',
|
24
25
|
LLL : 'D [de] MMMM [de] YYYY LT',
|
@@ -51,6 +52,7 @@
|
|
51
52
|
y : 'um ano',
|
52
53
|
yy : '%d anos'
|
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.
|
@@ -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 relativeTimeWithPlural(number, withoutSuffix, key) {
|
@@ -36,6 +36,7 @@
|
|
36
36
|
weekdaysMin : 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
|
37
37
|
longDateFormat : {
|
38
38
|
LT : 'H:mm',
|
39
|
+
LTS : 'LT:ss',
|
39
40
|
L : 'DD.MM.YYYY',
|
40
41
|
LL : 'D MMMM YYYY',
|
41
42
|
LLL : 'D MMMM YYYY H:mm',
|
@@ -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 plural(word, num) {
|
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
function monthsShortCaseReplace(m, format) {
|
50
50
|
var monthsShort = {
|
51
|
-
'nominative': 'янв_фев_
|
51
|
+
'nominative': 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'),
|
52
52
|
'accusative': 'янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек'.split('_')
|
53
53
|
},
|
54
54
|
|
@@ -65,7 +65,7 @@
|
|
65
65
|
'accusative': 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_')
|
66
66
|
},
|
67
67
|
|
68
|
-
nounCase = (/\[ ?[Вв] ?(
|
68
|
+
nounCase = (/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/).test(format) ?
|
69
69
|
'accusative' :
|
70
70
|
'nominative';
|
71
71
|
|
@@ -81,6 +81,7 @@
|
|
81
81
|
monthsParse : [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[й|я]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i],
|
82
82
|
longDateFormat : {
|
83
83
|
LT : 'HH:mm',
|
84
|
+
LTS : 'LT:ss',
|
84
85
|
L : 'DD.MM.YYYY',
|
85
86
|
LL : 'D MMMM YYYY г.',
|
86
87
|
LLL : 'D MMMM YYYY г., LT',
|
@@ -93,18 +94,26 @@
|
|
93
94
|
nextWeek: function () {
|
94
95
|
return this.day() === 2 ? '[Во] dddd [в] LT' : '[В] dddd [в] LT';
|
95
96
|
},
|
96
|
-
lastWeek: function () {
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
97
|
+
lastWeek: function (now) {
|
98
|
+
if (now.week() !== this.week()) {
|
99
|
+
switch (this.day()) {
|
100
|
+
case 0:
|
101
|
+
return '[В прошлое] dddd [в] LT';
|
102
|
+
case 1:
|
103
|
+
case 2:
|
104
|
+
case 4:
|
105
|
+
return '[В прошлый] dddd [в] LT';
|
106
|
+
case 3:
|
107
|
+
case 5:
|
108
|
+
case 6:
|
109
|
+
return '[В прошлую] dddd [в] LT';
|
110
|
+
}
|
111
|
+
} else {
|
112
|
+
if (this.day() === 2) {
|
113
|
+
return '[Во] dddd [в] LT';
|
114
|
+
} else {
|
115
|
+
return '[В] dddd [в] LT';
|
116
|
+
}
|
108
117
|
}
|
109
118
|
},
|
110
119
|
sameElse: 'L'
|
@@ -142,6 +151,7 @@
|
|
142
151
|
}
|
143
152
|
},
|
144
153
|
|
154
|
+
ordinalParse: /\d{1,2}-(й|го|я)/,
|
145
155
|
ordinal: function (number, period) {
|
146
156
|
switch (period) {
|
147
157
|
case 'M':
|
@@ -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
|
var months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'),
|
@@ -88,6 +88,7 @@
|
|
88
88
|
weekdaysMin : 'ne_po_ut_st_št_pi_so'.split('_'),
|
89
89
|
longDateFormat : {
|
90
90
|
LT: 'H:mm',
|
91
|
+
LTS : 'LT:ss',
|
91
92
|
L : 'DD.MM.YYYY',
|
92
93
|
LL : 'D. MMMM YYYY',
|
93
94
|
LLL : 'D. MMMM YYYY LT',
|
@@ -147,6 +148,7 @@
|
|
147
148
|
y : translate,
|
148
149
|
yy : translate
|
149
150
|
},
|
151
|
+
ordinalParse: /\d{1,2}\./,
|
150
152
|
ordinal : '%d.',
|
151
153
|
week : {
|
152
154
|
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
|
function translate(number, withoutSuffix, key) {
|
@@ -80,6 +80,7 @@
|
|
80
80
|
weekdaysMin : 'ne_po_to_sr_če_pe_so'.split('_'),
|
81
81
|
longDateFormat : {
|
82
82
|
LT : 'H:mm',
|
83
|
+
LTS : 'LT:ss',
|
83
84
|
L : 'DD. MM. YYYY',
|
84
85
|
LL : 'D. MMMM YYYY',
|
85
86
|
LLL : 'D. MMMM YYYY LT',
|
@@ -135,6 +136,7 @@
|
|
135
136
|
y : 'eno leto',
|
136
137
|
yy : translate
|
137
138
|
},
|
139
|
+
ordinalParse: /\d{1,2}\./,
|
138
140
|
ordinal : '%d.',
|
139
141
|
week : {
|
140
142
|
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('sq', {
|
@@ -24,6 +24,7 @@
|
|
24
24
|
},
|
25
25
|
longDateFormat : {
|
26
26
|
LT : 'HH:mm',
|
27
|
+
LTS : 'LT:ss',
|
27
28
|
L : 'DD/MM/YYYY',
|
28
29
|
LL : 'D MMMM YYYY',
|
29
30
|
LLL : 'D MMMM YYYY LT',
|
@@ -52,6 +53,7 @@
|
|
52
53
|
y : 'një vit',
|
53
54
|
yy : '%d vite'
|
54
55
|
},
|
56
|
+
ordinalParse: /\d{1,2}\./,
|
55
57
|
ordinal : '%d.',
|
56
58
|
week : {
|
57
59
|
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 translator = {
|
@@ -42,6 +42,7 @@
|
|
42
42
|
weekdaysMin: ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'],
|
43
43
|
longDateFormat: {
|
44
44
|
LT: 'H:mm',
|
45
|
+
LTS : 'LT:ss',
|
45
46
|
L: 'DD. MM. YYYY',
|
46
47
|
LL: 'D. MMMM YYYY',
|
47
48
|
LLL: 'D. MMMM YYYY LT',
|
@@ -96,6 +97,7 @@
|
|
96
97
|
y : 'годину',
|
97
98
|
yy : translator.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
|
var translator = {
|
@@ -42,6 +42,7 @@
|
|
42
42
|
weekdaysMin: ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'],
|
43
43
|
longDateFormat: {
|
44
44
|
LT: 'H:mm',
|
45
|
+
LTS : 'LT:ss',
|
45
46
|
L: 'DD. MM. YYYY',
|
46
47
|
LL: 'D. MMMM YYYY',
|
47
48
|
LLL: 'D. MMMM YYYY LT',
|
@@ -96,6 +97,7 @@
|
|
96
97
|
y : 'godinu',
|
97
98
|
yy : translator.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('sv', {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
weekdaysMin : 'sö_må_ti_on_to_fr_lö'.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 : 'ett år',
|
48
49
|
yy : '%d år'
|
49
50
|
},
|
51
|
+
ordinalParse: /\d{1,2}(e|a)/,
|
50
52
|
ordinal : function (number) {
|
51
53
|
var b = number % 10,
|
52
54
|
output = (~~(number % 100 / 10) === 1) ? 'e' :
|
@@ -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 : 'HH:mm',
|
47
|
+
LTS : 'LT:ss',
|
47
48
|
L : 'DD/MM/YYYY',
|
48
49
|
LL : 'D MMMM YYYY',
|
49
50
|
LLL : 'D MMMM YYYY, LT',
|
@@ -82,6 +83,7 @@
|
|
82
83
|
return symbolMap[match];
|
83
84
|
});
|
84
85
|
},*/
|
86
|
+
ordinalParse: /\d{1,2}வது/,
|
85
87
|
ordinal : function (number) {
|
86
88
|
return number + 'வது';
|
87
89
|
},
|
@@ -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('th', {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
weekdaysMin : 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
|
20
20
|
longDateFormat : {
|
21
21
|
LT : 'H นาฬิกา m นาที',
|
22
|
+
LTS : 'LT s วินาที',
|
22
23
|
L : 'YYYY/MM/DD',
|
23
24
|
LL : 'D MMMM YYYY',
|
24
25
|
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
|
return moment.defineLocale('tl-ph', {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
|
20
20
|
longDateFormat : {
|
21
21
|
LT : 'HH:mm',
|
22
|
+
LTS : 'LT:ss',
|
22
23
|
L : 'MM/D/YYYY',
|
23
24
|
LL : 'MMMM D, YYYY',
|
24
25
|
LLL : 'MMMM D, YYYY LT',
|
@@ -47,6 +48,7 @@
|
|
47
48
|
y : 'isang taon',
|
48
49
|
yy : '%d taon'
|
49
50
|
},
|
51
|
+
ordinalParse: /\d{1,2}/,
|
50
52
|
ordinal : function (number) {
|
51
53
|
return number;
|
52
54
|
},
|
@@ -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
|
var suffixes = {
|
@@ -46,6 +46,7 @@
|
|
46
46
|
weekdaysMin : 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
|
47
47
|
longDateFormat : {
|
48
48
|
LT : 'HH:mm',
|
49
|
+
LTS : 'LT:ss',
|
49
50
|
L : 'DD.MM.YYYY',
|
50
51
|
LL : 'D MMMM YYYY',
|
51
52
|
LLL : 'D MMMM YYYY LT',
|
@@ -74,6 +75,7 @@
|
|
74
75
|
y : 'bir yıl',
|
75
76
|
yy : '%d yıl'
|
76
77
|
},
|
78
|
+
ordinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,
|
77
79
|
ordinal : function (number) {
|
78
80
|
if (number === 0) { // special case for zero
|
79
81
|
return number + '\'ıncı';
|
@@ -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('tzm-latn', {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
weekdaysMin : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.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',
|