momentjs-rails 2.9.0 → 2.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/MIT-LICENSE +1 -1
- data/README.md +13 -11
- data/news.md +24 -7
- 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 -2
- data/vendor/assets/javascripts/moment/af.js +72 -69
- data/vendor/assets/javascripts/moment/ar-dz.js +60 -0
- data/vendor/assets/javascripts/moment/ar-kw.js +60 -0
- data/vendor/assets/javascripts/moment/ar-ly.js +127 -0
- data/vendor/assets/javascripts/moment/ar-ma.js +59 -55
- data/vendor/assets/javascripts/moment/ar-sa.js +103 -98
- data/vendor/assets/javascripts/moment/ar-tn.js +58 -53
- data/vendor/assets/javascripts/moment/ar.js +140 -131
- data/vendor/assets/javascripts/moment/az.js +100 -101
- data/vendor/assets/javascripts/moment/be.js +106 -125
- data/vendor/assets/javascripts/moment/bg.js +78 -75
- data/vendor/assets/javascripts/moment/bm.js +60 -0
- data/vendor/assets/javascripts/moment/bn.js +117 -108
- data/vendor/assets/javascripts/moment/bo.js +117 -105
- data/vendor/assets/javascripts/moment/br.js +92 -92
- data/vendor/assets/javascripts/moment/bs.js +81 -68
- data/vendor/assets/javascripts/moment/ca.js +83 -71
- data/vendor/assets/javascripts/moment/cs.js +102 -79
- data/vendor/assets/javascripts/moment/cv.js +62 -59
- data/vendor/assets/javascripts/moment/cy.js +78 -75
- data/vendor/assets/javascripts/moment/da.js +59 -56
- data/vendor/assets/javascripts/moment/de-at.js +77 -71
- data/vendor/assets/javascripts/moment/de-ch.js +79 -0
- data/vendor/assets/javascripts/moment/de.js +76 -70
- data/vendor/assets/javascripts/moment/dv.js +101 -0
- data/vendor/assets/javascripts/moment/el.js +96 -89
- data/vendor/assets/javascripts/moment/en-au.js +66 -62
- data/vendor/assets/javascripts/moment/en-ca.js +62 -59
- data/vendor/assets/javascripts/moment/en-gb.js +66 -63
- data/vendor/assets/javascripts/moment/en-ie.js +68 -0
- data/vendor/assets/javascripts/moment/en-nz.js +68 -0
- data/vendor/assets/javascripts/moment/eo.js +72 -69
- data/vendor/assets/javascripts/moment/es-do.js +92 -0
- data/vendor/assets/javascripts/moment/es-us.js +84 -0
- data/vendor/assets/javascripts/moment/es.js +87 -71
- data/vendor/assets/javascripts/moment/et.js +78 -74
- data/vendor/assets/javascripts/moment/eu.js +65 -60
- data/vendor/assets/javascripts/moment/fa.js +105 -100
- data/vendor/assets/javascripts/moment/fi.js +77 -74
- data/vendor/assets/javascripts/moment/fo.js +59 -56
- data/vendor/assets/javascripts/moment/fr-ca.js +73 -54
- data/vendor/assets/javascripts/moment/fr-ch.js +79 -0
- data/vendor/assets/javascripts/moment/fr.js +82 -58
- data/vendor/assets/javascripts/moment/fy.js +73 -66
- data/vendor/assets/javascripts/moment/gd.js +77 -0
- data/vendor/assets/javascripts/moment/gl.js +74 -69
- data/vendor/assets/javascripts/moment/gom-latn.js +124 -0
- data/vendor/assets/javascripts/moment/gu.js +125 -0
- data/vendor/assets/javascripts/moment/he.js +95 -75
- data/vendor/assets/javascripts/moment/hi.js +122 -118
- data/vendor/assets/javascripts/moment/hr.js +82 -68
- data/vendor/assets/javascripts/moment/hu.js +82 -82
- data/vendor/assets/javascripts/moment/hy-am.js +80 -102
- data/vendor/assets/javascripts/moment/id.js +82 -79
- data/vendor/assets/javascripts/moment/is.js +75 -68
- data/vendor/assets/javascripts/moment/it.js +68 -65
- data/vendor/assets/javascripts/moment/ja.js +79 -61
- data/vendor/assets/javascripts/moment/jv.js +84 -0
- data/vendor/assets/javascripts/moment/ka.js +82 -101
- data/vendor/assets/javascripts/moment/kk.js +88 -0
- data/vendor/assets/javascripts/moment/km.js +57 -54
- data/vendor/assets/javascripts/moment/kn.js +127 -0
- data/vendor/assets/javascripts/moment/ko.js +82 -64
- data/vendor/assets/javascripts/moment/ky.js +89 -0
- data/vendor/assets/javascripts/moment/lb.js +126 -127
- data/vendor/assets/javascripts/moment/lo.js +71 -0
- data/vendor/assets/javascripts/moment/lt.js +110 -111
- data/vendor/assets/javascripts/moment/lv.js +92 -72
- data/vendor/assets/javascripts/moment/me.js +113 -0
- data/vendor/assets/javascripts/moment/mi.js +65 -0
- data/vendor/assets/javascripts/moment/mk.js +80 -77
- data/vendor/assets/javascripts/moment/ml.js +80 -67
- data/vendor/assets/javascripts/moment/mr.js +158 -116
- data/vendor/assets/javascripts/moment/ms-my.js +82 -78
- data/vendor/assets/javascripts/moment/ms.js +83 -0
- data/vendor/assets/javascripts/moment/mt.js +61 -0
- data/vendor/assets/javascripts/moment/my.js +95 -87
- data/vendor/assets/javascripts/moment/nb.js +62 -57
- data/vendor/assets/javascripts/moment/ne.js +121 -118
- data/vendor/assets/javascripts/moment/nl-be.js +89 -0
- data/vendor/assets/javascripts/moment/nl.js +86 -66
- data/vendor/assets/javascripts/moment/nn.js +59 -56
- data/vendor/assets/javascripts/moment/pa-in.js +125 -0
- data/vendor/assets/javascripts/moment/pl.js +99 -72
- data/vendor/assets/javascripts/moment/pt-br.js +60 -56
- data/vendor/assets/javascripts/moment/pt.js +64 -60
- data/vendor/assets/javascripts/moment/ro.js +72 -68
- data/vendor/assets/javascripts/moment/ru.js +156 -147
- data/vendor/assets/javascripts/moment/sd.js +99 -0
- data/vendor/assets/javascripts/moment/se.js +62 -0
- data/vendor/assets/javascripts/moment/si.js +72 -0
- data/vendor/assets/javascripts/moment/sk.js +80 -80
- data/vendor/assets/javascripts/moment/sl.js +117 -89
- data/vendor/assets/javascripts/moment/sq.js +69 -65
- data/vendor/assets/javascripts/moment/sr-cyrl.js +96 -91
- data/vendor/assets/javascripts/moment/sr.js +96 -91
- data/vendor/assets/javascripts/moment/ss.js +90 -0
- data/vendor/assets/javascripts/moment/sv.js +68 -63
- data/vendor/assets/javascripts/moment/sw.js +60 -0
- data/vendor/assets/javascripts/moment/ta.js +126 -125
- data/vendor/assets/javascripts/moment/te.js +90 -0
- data/vendor/assets/javascripts/moment/tet.js +69 -0
- data/vendor/assets/javascripts/moment/th.js +66 -61
- data/vendor/assets/javascripts/moment/tl-ph.js +61 -58
- data/vendor/assets/javascripts/moment/tlh.js +123 -0
- data/vendor/assets/javascripts/moment/tr.js +85 -88
- data/vendor/assets/javascripts/moment/tzl.js +93 -0
- data/vendor/assets/javascripts/moment/tzm-latn.js +57 -54
- data/vendor/assets/javascripts/moment/tzm.js +57 -54
- data/vendor/assets/javascripts/moment/uk.js +123 -133
- data/vendor/assets/javascripts/moment/ur.js +100 -0
- data/vendor/assets/javascripts/moment/uz-latn.js +59 -0
- data/vendor/assets/javascripts/moment/uz.js +57 -54
- data/vendor/assets/javascripts/moment/vi.js +78 -62
- data/vendor/assets/javascripts/moment/x-pseudo.js +69 -0
- data/vendor/assets/javascripts/moment/yo.js +61 -0
- data/vendor/assets/javascripts/moment/zh-cn.js +99 -112
- data/vendor/assets/javascripts/moment/zh-hk.js +106 -0
- data/vendor/assets/javascripts/moment/zh-tw.js +92 -86
- data/vendor/assets/javascripts/moment.js +4128 -2636
- metadata +67 -16
- data/test/dummy/log/test.log +0 -61
@@ -1,60 +1,63 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Tagalog (Philippines) [tl-ph]
|
3
|
+
//! author : Dan Hagman : https://github.com/hagmandan
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
5
|
+
;(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
+
&& typeof require === 'function' ? 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 tlPh = moment.defineLocale('tl-ph', {
|
14
|
+
months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
|
15
|
+
monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
|
16
|
+
weekdays : 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
|
17
|
+
weekdaysShort : 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
|
18
|
+
weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
|
19
|
+
longDateFormat : {
|
20
|
+
LT : 'HH:mm',
|
21
|
+
LTS : 'HH:mm:ss',
|
22
|
+
L : 'MM/D/YYYY',
|
23
|
+
LL : 'MMMM D, YYYY',
|
24
|
+
LLL : 'MMMM D, YYYY HH:mm',
|
25
|
+
LLLL : 'dddd, MMMM DD, YYYY HH:mm'
|
26
|
+
},
|
27
|
+
calendar : {
|
28
|
+
sameDay: 'LT [ngayong araw]',
|
29
|
+
nextDay: '[Bukas ng] LT',
|
30
|
+
nextWeek: 'LT [sa susunod na] dddd',
|
31
|
+
lastDay: 'LT [kahapon]',
|
32
|
+
lastWeek: 'LT [noong nakaraang] dddd',
|
33
|
+
sameElse: 'L'
|
34
|
+
},
|
35
|
+
relativeTime : {
|
36
|
+
future : 'sa loob ng %s',
|
37
|
+
past : '%s ang nakalipas',
|
38
|
+
s : 'ilang segundo',
|
39
|
+
ss : '%d segundo',
|
40
|
+
m : 'isang minuto',
|
41
|
+
mm : '%d minuto',
|
42
|
+
h : 'isang oras',
|
43
|
+
hh : '%d oras',
|
44
|
+
d : 'isang araw',
|
45
|
+
dd : '%d araw',
|
46
|
+
M : 'isang buwan',
|
47
|
+
MM : '%d buwan',
|
48
|
+
y : 'isang taon',
|
49
|
+
yy : '%d taon'
|
50
|
+
},
|
51
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
52
|
+
ordinal : function (number) {
|
53
|
+
return number;
|
54
|
+
},
|
55
|
+
week : {
|
56
|
+
dow : 1, // Monday is the first day of the week.
|
57
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
12
58
|
}
|
13
|
-
}
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
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
|
-
LTS : 'LT:ss',
|
23
|
-
L : 'MM/D/YYYY',
|
24
|
-
LL : 'MMMM D, YYYY',
|
25
|
-
LLL : 'MMMM D, YYYY LT',
|
26
|
-
LLLL : 'dddd, MMMM DD, YYYY LT'
|
27
|
-
},
|
28
|
-
calendar : {
|
29
|
-
sameDay: '[Ngayon sa] LT',
|
30
|
-
nextDay: '[Bukas sa] LT',
|
31
|
-
nextWeek: 'dddd [sa] LT',
|
32
|
-
lastDay: '[Kahapon sa] LT',
|
33
|
-
lastWeek: 'dddd [huling linggo] LT',
|
34
|
-
sameElse: 'L'
|
35
|
-
},
|
36
|
-
relativeTime : {
|
37
|
-
future : 'sa loob ng %s',
|
38
|
-
past : '%s ang nakalipas',
|
39
|
-
s : 'ilang segundo',
|
40
|
-
m : 'isang minuto',
|
41
|
-
mm : '%d minuto',
|
42
|
-
h : 'isang oras',
|
43
|
-
hh : '%d oras',
|
44
|
-
d : 'isang araw',
|
45
|
-
dd : '%d araw',
|
46
|
-
M : 'isang buwan',
|
47
|
-
MM : '%d buwan',
|
48
|
-
y : 'isang taon',
|
49
|
-
yy : '%d taon'
|
50
|
-
},
|
51
|
-
ordinalParse: /\d{1,2}/,
|
52
|
-
ordinal : function (number) {
|
53
|
-
return number;
|
54
|
-
},
|
55
|
-
week : {
|
56
|
-
dow : 1, // Monday is the first day of the week.
|
57
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
58
|
-
}
|
59
|
-
});
|
60
|
-
}));
|
59
|
+
});
|
60
|
+
|
61
|
+
return tlPh;
|
62
|
+
|
63
|
+
})));
|
@@ -0,0 +1,123 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Klingon [tlh]
|
3
|
+
//! author : Dominika Kruk : https://github.com/amaranthrose
|
4
|
+
|
5
|
+
;(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
+
&& typeof require === 'function' ? 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 numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
|
14
|
+
|
15
|
+
function translateFuture(output) {
|
16
|
+
var time = output;
|
17
|
+
time = (output.indexOf('jaj') !== -1) ?
|
18
|
+
time.slice(0, -3) + 'leS' :
|
19
|
+
(output.indexOf('jar') !== -1) ?
|
20
|
+
time.slice(0, -3) + 'waQ' :
|
21
|
+
(output.indexOf('DIS') !== -1) ?
|
22
|
+
time.slice(0, -3) + 'nem' :
|
23
|
+
time + ' pIq';
|
24
|
+
return time;
|
25
|
+
}
|
26
|
+
|
27
|
+
function translatePast(output) {
|
28
|
+
var time = output;
|
29
|
+
time = (output.indexOf('jaj') !== -1) ?
|
30
|
+
time.slice(0, -3) + 'Hu’' :
|
31
|
+
(output.indexOf('jar') !== -1) ?
|
32
|
+
time.slice(0, -3) + 'wen' :
|
33
|
+
(output.indexOf('DIS') !== -1) ?
|
34
|
+
time.slice(0, -3) + 'ben' :
|
35
|
+
time + ' ret';
|
36
|
+
return time;
|
37
|
+
}
|
38
|
+
|
39
|
+
function translate(number, withoutSuffix, string, isFuture) {
|
40
|
+
var numberNoun = numberAsNoun(number);
|
41
|
+
switch (string) {
|
42
|
+
case 'ss':
|
43
|
+
return numberNoun + ' lup';
|
44
|
+
case 'mm':
|
45
|
+
return numberNoun + ' tup';
|
46
|
+
case 'hh':
|
47
|
+
return numberNoun + ' rep';
|
48
|
+
case 'dd':
|
49
|
+
return numberNoun + ' jaj';
|
50
|
+
case 'MM':
|
51
|
+
return numberNoun + ' jar';
|
52
|
+
case 'yy':
|
53
|
+
return numberNoun + ' DIS';
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
function numberAsNoun(number) {
|
58
|
+
var hundred = Math.floor((number % 1000) / 100),
|
59
|
+
ten = Math.floor((number % 100) / 10),
|
60
|
+
one = number % 10,
|
61
|
+
word = '';
|
62
|
+
if (hundred > 0) {
|
63
|
+
word += numbersNouns[hundred] + 'vatlh';
|
64
|
+
}
|
65
|
+
if (ten > 0) {
|
66
|
+
word += ((word !== '') ? ' ' : '') + numbersNouns[ten] + 'maH';
|
67
|
+
}
|
68
|
+
if (one > 0) {
|
69
|
+
word += ((word !== '') ? ' ' : '') + numbersNouns[one];
|
70
|
+
}
|
71
|
+
return (word === '') ? 'pagh' : word;
|
72
|
+
}
|
73
|
+
|
74
|
+
var tlh = moment.defineLocale('tlh', {
|
75
|
+
months : 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'),
|
76
|
+
monthsShort : 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'),
|
77
|
+
monthsParseExact : true,
|
78
|
+
weekdays : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
79
|
+
weekdaysShort : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
80
|
+
weekdaysMin : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
81
|
+
longDateFormat : {
|
82
|
+
LT : 'HH:mm',
|
83
|
+
LTS : 'HH:mm:ss',
|
84
|
+
L : 'DD.MM.YYYY',
|
85
|
+
LL : 'D MMMM YYYY',
|
86
|
+
LLL : 'D MMMM YYYY HH:mm',
|
87
|
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
88
|
+
},
|
89
|
+
calendar : {
|
90
|
+
sameDay: '[DaHjaj] LT',
|
91
|
+
nextDay: '[wa’leS] LT',
|
92
|
+
nextWeek: 'LLL',
|
93
|
+
lastDay: '[wa’Hu’] LT',
|
94
|
+
lastWeek: 'LLL',
|
95
|
+
sameElse: 'L'
|
96
|
+
},
|
97
|
+
relativeTime : {
|
98
|
+
future : translateFuture,
|
99
|
+
past : translatePast,
|
100
|
+
s : 'puS lup',
|
101
|
+
ss : translate,
|
102
|
+
m : 'wa’ tup',
|
103
|
+
mm : translate,
|
104
|
+
h : 'wa’ rep',
|
105
|
+
hh : translate,
|
106
|
+
d : 'wa’ jaj',
|
107
|
+
dd : translate,
|
108
|
+
M : 'wa’ jar',
|
109
|
+
MM : translate,
|
110
|
+
y : 'wa’ DIS',
|
111
|
+
yy : translate
|
112
|
+
},
|
113
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
114
|
+
ordinal : '%d.',
|
115
|
+
week : {
|
116
|
+
dow : 1, // Monday is the first day of the week.
|
117
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
118
|
+
}
|
119
|
+
});
|
120
|
+
|
121
|
+
return tlh;
|
122
|
+
|
123
|
+
})));
|
@@ -1,94 +1,91 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Turkish [tr]
|
3
|
+
//! authors : Erhan Gundogan : https://github.com/erhangundogan,
|
4
|
+
//! Burak Yiğit Kaya: https://github.com/BYK
|
5
5
|
|
6
|
-
(function (factory) {
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
13
|
-
}
|
14
|
-
}(function (moment) {
|
15
|
-
var suffixes = {
|
16
|
-
1: '\'inci',
|
17
|
-
5: '\'inci',
|
18
|
-
8: '\'inci',
|
19
|
-
70: '\'inci',
|
20
|
-
80: '\'inci',
|
21
|
-
|
22
|
-
2: '\'nci',
|
23
|
-
7: '\'nci',
|
24
|
-
20: '\'nci',
|
25
|
-
50: '\'nci',
|
26
|
-
|
27
|
-
3: '\'üncü',
|
28
|
-
4: '\'üncü',
|
29
|
-
100: '\'üncü',
|
6
|
+
;(function (global, factory) {
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10
|
+
factory(global.moment)
|
11
|
+
}(this, (function (moment) { 'use strict';
|
30
12
|
|
31
|
-
6: '\'ncı',
|
32
13
|
|
33
|
-
|
34
|
-
|
35
|
-
|
14
|
+
var suffixes = {
|
15
|
+
1: '\'inci',
|
16
|
+
5: '\'inci',
|
17
|
+
8: '\'inci',
|
18
|
+
70: '\'inci',
|
19
|
+
80: '\'inci',
|
20
|
+
2: '\'nci',
|
21
|
+
7: '\'nci',
|
22
|
+
20: '\'nci',
|
23
|
+
50: '\'nci',
|
24
|
+
3: '\'üncü',
|
25
|
+
4: '\'üncü',
|
26
|
+
100: '\'üncü',
|
27
|
+
6: '\'ncı',
|
28
|
+
9: '\'uncu',
|
29
|
+
10: '\'uncu',
|
30
|
+
30: '\'uncu',
|
31
|
+
60: '\'ıncı',
|
32
|
+
90: '\'ıncı'
|
33
|
+
};
|
36
34
|
|
37
|
-
|
38
|
-
|
39
|
-
|
35
|
+
var tr = moment.defineLocale('tr', {
|
36
|
+
months : 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'),
|
37
|
+
monthsShort : 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
|
38
|
+
weekdays : 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'),
|
39
|
+
weekdaysShort : 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
|
40
|
+
weekdaysMin : 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
|
41
|
+
longDateFormat : {
|
42
|
+
LT : 'HH:mm',
|
43
|
+
LTS : 'HH:mm:ss',
|
44
|
+
L : 'DD.MM.YYYY',
|
45
|
+
LL : 'D MMMM YYYY',
|
46
|
+
LLL : 'D MMMM YYYY HH:mm',
|
47
|
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
48
|
+
},
|
49
|
+
calendar : {
|
50
|
+
sameDay : '[bugün saat] LT',
|
51
|
+
nextDay : '[yarın saat] LT',
|
52
|
+
nextWeek : '[gelecek] dddd [saat] LT',
|
53
|
+
lastDay : '[dün] LT',
|
54
|
+
lastWeek : '[geçen] dddd [saat] LT',
|
55
|
+
sameElse : 'L'
|
56
|
+
},
|
57
|
+
relativeTime : {
|
58
|
+
future : '%s sonra',
|
59
|
+
past : '%s önce',
|
60
|
+
s : 'birkaç saniye',
|
61
|
+
ss : '%d saniye',
|
62
|
+
m : 'bir dakika',
|
63
|
+
mm : '%d dakika',
|
64
|
+
h : 'bir saat',
|
65
|
+
hh : '%d saat',
|
66
|
+
d : 'bir gün',
|
67
|
+
dd : '%d gün',
|
68
|
+
M : 'bir ay',
|
69
|
+
MM : '%d ay',
|
70
|
+
y : 'bir yıl',
|
71
|
+
yy : '%d yıl'
|
72
|
+
},
|
73
|
+
dayOfMonthOrdinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,
|
74
|
+
ordinal : function (number) {
|
75
|
+
if (number === 0) { // special case for zero
|
76
|
+
return number + '\'ıncı';
|
77
|
+
}
|
78
|
+
var a = number % 10,
|
79
|
+
b = number % 100 - a,
|
80
|
+
c = number >= 100 ? 100 : null;
|
81
|
+
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
82
|
+
},
|
83
|
+
week : {
|
84
|
+
dow : 1, // Monday is the first day of the week.
|
85
|
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
86
|
+
}
|
87
|
+
});
|
40
88
|
|
41
|
-
|
42
|
-
months : 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'),
|
43
|
-
monthsShort : 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
|
44
|
-
weekdays : 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'),
|
45
|
-
weekdaysShort : 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
|
46
|
-
weekdaysMin : 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
|
47
|
-
longDateFormat : {
|
48
|
-
LT : 'HH:mm',
|
49
|
-
LTS : 'LT:ss',
|
50
|
-
L : 'DD.MM.YYYY',
|
51
|
-
LL : 'D MMMM YYYY',
|
52
|
-
LLL : 'D MMMM YYYY LT',
|
53
|
-
LLLL : 'dddd, D MMMM YYYY LT'
|
54
|
-
},
|
55
|
-
calendar : {
|
56
|
-
sameDay : '[bugün saat] LT',
|
57
|
-
nextDay : '[yarın saat] LT',
|
58
|
-
nextWeek : '[haftaya] dddd [saat] LT',
|
59
|
-
lastDay : '[dün] LT',
|
60
|
-
lastWeek : '[geçen hafta] dddd [saat] LT',
|
61
|
-
sameElse : 'L'
|
62
|
-
},
|
63
|
-
relativeTime : {
|
64
|
-
future : '%s sonra',
|
65
|
-
past : '%s önce',
|
66
|
-
s : 'birkaç saniye',
|
67
|
-
m : 'bir dakika',
|
68
|
-
mm : '%d dakika',
|
69
|
-
h : 'bir saat',
|
70
|
-
hh : '%d saat',
|
71
|
-
d : 'bir gün',
|
72
|
-
dd : '%d gün',
|
73
|
-
M : 'bir ay',
|
74
|
-
MM : '%d ay',
|
75
|
-
y : 'bir yıl',
|
76
|
-
yy : '%d yıl'
|
77
|
-
},
|
78
|
-
ordinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,
|
79
|
-
ordinal : function (number) {
|
80
|
-
if (number === 0) { // special case for zero
|
81
|
-
return number + '\'ıncı';
|
82
|
-
}
|
83
|
-
var a = number % 10,
|
84
|
-
b = number % 100 - a,
|
85
|
-
c = number >= 100 ? 100 : null;
|
89
|
+
return tr;
|
86
90
|
|
87
|
-
|
88
|
-
},
|
89
|
-
week : {
|
90
|
-
dow : 1, // Monday is the first day of the week.
|
91
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
92
|
-
}
|
93
|
-
});
|
94
|
-
}));
|
91
|
+
})));
|
@@ -0,0 +1,93 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Talossan [tzl]
|
3
|
+
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
4
|
+
//! author : Iustì Canun
|
5
|
+
|
6
|
+
;(function (global, factory) {
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10
|
+
factory(global.moment)
|
11
|
+
}(this, (function (moment) { 'use strict';
|
12
|
+
|
13
|
+
|
14
|
+
// After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
|
15
|
+
// This is currently too difficult (maybe even impossible) to add.
|
16
|
+
var tzl = moment.defineLocale('tzl', {
|
17
|
+
months : 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'),
|
18
|
+
monthsShort : 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
|
19
|
+
weekdays : 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
|
20
|
+
weekdaysShort : 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
|
21
|
+
weekdaysMin : 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
|
22
|
+
longDateFormat : {
|
23
|
+
LT : 'HH.mm',
|
24
|
+
LTS : 'HH.mm.ss',
|
25
|
+
L : 'DD.MM.YYYY',
|
26
|
+
LL : 'D. MMMM [dallas] YYYY',
|
27
|
+
LLL : 'D. MMMM [dallas] YYYY HH.mm',
|
28
|
+
LLLL : 'dddd, [li] D. MMMM [dallas] YYYY HH.mm'
|
29
|
+
},
|
30
|
+
meridiemParse: /d\'o|d\'a/i,
|
31
|
+
isPM : function (input) {
|
32
|
+
return 'd\'o' === input.toLowerCase();
|
33
|
+
},
|
34
|
+
meridiem : function (hours, minutes, isLower) {
|
35
|
+
if (hours > 11) {
|
36
|
+
return isLower ? 'd\'o' : 'D\'O';
|
37
|
+
} else {
|
38
|
+
return isLower ? 'd\'a' : 'D\'A';
|
39
|
+
}
|
40
|
+
},
|
41
|
+
calendar : {
|
42
|
+
sameDay : '[oxhi à] LT',
|
43
|
+
nextDay : '[demà à] LT',
|
44
|
+
nextWeek : 'dddd [à] LT',
|
45
|
+
lastDay : '[ieiri à] LT',
|
46
|
+
lastWeek : '[sür el] dddd [lasteu à] LT',
|
47
|
+
sameElse : 'L'
|
48
|
+
},
|
49
|
+
relativeTime : {
|
50
|
+
future : 'osprei %s',
|
51
|
+
past : 'ja%s',
|
52
|
+
s : processRelativeTime,
|
53
|
+
ss : processRelativeTime,
|
54
|
+
m : processRelativeTime,
|
55
|
+
mm : processRelativeTime,
|
56
|
+
h : processRelativeTime,
|
57
|
+
hh : processRelativeTime,
|
58
|
+
d : processRelativeTime,
|
59
|
+
dd : processRelativeTime,
|
60
|
+
M : processRelativeTime,
|
61
|
+
MM : processRelativeTime,
|
62
|
+
y : processRelativeTime,
|
63
|
+
yy : processRelativeTime
|
64
|
+
},
|
65
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
66
|
+
ordinal : '%d.',
|
67
|
+
week : {
|
68
|
+
dow : 1, // Monday is the first day of the week.
|
69
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
70
|
+
}
|
71
|
+
});
|
72
|
+
|
73
|
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
74
|
+
var format = {
|
75
|
+
's': ['viensas secunds', '\'iensas secunds'],
|
76
|
+
'ss': [number + ' secunds', '' + number + ' secunds'],
|
77
|
+
'm': ['\'n míut', '\'iens míut'],
|
78
|
+
'mm': [number + ' míuts', '' + number + ' míuts'],
|
79
|
+
'h': ['\'n þora', '\'iensa þora'],
|
80
|
+
'hh': [number + ' þoras', '' + number + ' þoras'],
|
81
|
+
'd': ['\'n ziua', '\'iensa ziua'],
|
82
|
+
'dd': [number + ' ziuas', '' + number + ' ziuas'],
|
83
|
+
'M': ['\'n mes', '\'iens mes'],
|
84
|
+
'MM': [number + ' mesen', '' + number + ' mesen'],
|
85
|
+
'y': ['\'n ar', '\'iens ar'],
|
86
|
+
'yy': [number + ' ars', '' + number + ' ars']
|
87
|
+
};
|
88
|
+
return isFuture ? format[key][0] : (withoutSuffix ? format[key][0] : format[key][1]);
|
89
|
+
}
|
90
|
+
|
91
|
+
return tzl;
|
92
|
+
|
93
|
+
})));
|
@@ -1,56 +1,59 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Central Atlas Tamazight Latin [tzm-latn]
|
3
|
+
//! author : Abdel Said : https://github.com/abdelsaid
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
5
|
+
;(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
+
&& typeof require === 'function' ? 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 tzmLatn = moment.defineLocale('tzm-latn', {
|
14
|
+
months : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
|
15
|
+
monthsShort : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
|
16
|
+
weekdays : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
17
|
+
weekdaysShort : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
18
|
+
weekdaysMin : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
19
|
+
longDateFormat : {
|
20
|
+
LT : 'HH:mm',
|
21
|
+
LTS : 'HH:mm:ss',
|
22
|
+
L : 'DD/MM/YYYY',
|
23
|
+
LL : 'D MMMM YYYY',
|
24
|
+
LLL : 'D MMMM YYYY HH:mm',
|
25
|
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
26
|
+
},
|
27
|
+
calendar : {
|
28
|
+
sameDay: '[asdkh g] LT',
|
29
|
+
nextDay: '[aska g] LT',
|
30
|
+
nextWeek: 'dddd [g] LT',
|
31
|
+
lastDay: '[assant g] LT',
|
32
|
+
lastWeek: 'dddd [g] LT',
|
33
|
+
sameElse: 'L'
|
34
|
+
},
|
35
|
+
relativeTime : {
|
36
|
+
future : 'dadkh s yan %s',
|
37
|
+
past : 'yan %s',
|
38
|
+
s : 'imik',
|
39
|
+
ss : '%d imik',
|
40
|
+
m : 'minuḍ',
|
41
|
+
mm : '%d minuḍ',
|
42
|
+
h : 'saɛa',
|
43
|
+
hh : '%d tassaɛin',
|
44
|
+
d : 'ass',
|
45
|
+
dd : '%d ossan',
|
46
|
+
M : 'ayowr',
|
47
|
+
MM : '%d iyyirn',
|
48
|
+
y : 'asgas',
|
49
|
+
yy : '%d isgasn'
|
50
|
+
},
|
51
|
+
week : {
|
52
|
+
dow : 6, // Saturday is the first day of the week.
|
53
|
+
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
12
54
|
}
|
13
|
-
}
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
weekdaysShort : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
19
|
-
weekdaysMin : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
20
|
-
longDateFormat : {
|
21
|
-
LT : 'HH:mm',
|
22
|
-
LTS : 'LT:ss',
|
23
|
-
L : 'DD/MM/YYYY',
|
24
|
-
LL : 'D MMMM YYYY',
|
25
|
-
LLL : 'D MMMM YYYY LT',
|
26
|
-
LLLL : 'dddd D MMMM YYYY LT'
|
27
|
-
},
|
28
|
-
calendar : {
|
29
|
-
sameDay: '[asdkh g] LT',
|
30
|
-
nextDay: '[aska g] LT',
|
31
|
-
nextWeek: 'dddd [g] LT',
|
32
|
-
lastDay: '[assant g] LT',
|
33
|
-
lastWeek: 'dddd [g] LT',
|
34
|
-
sameElse: 'L'
|
35
|
-
},
|
36
|
-
relativeTime : {
|
37
|
-
future : 'dadkh s yan %s',
|
38
|
-
past : 'yan %s',
|
39
|
-
s : 'imik',
|
40
|
-
m : 'minuḍ',
|
41
|
-
mm : '%d minuḍ',
|
42
|
-
h : 'saɛa',
|
43
|
-
hh : '%d tassaɛin',
|
44
|
-
d : 'ass',
|
45
|
-
dd : '%d ossan',
|
46
|
-
M : 'ayowr',
|
47
|
-
MM : '%d iyyirn',
|
48
|
-
y : 'asgas',
|
49
|
-
yy : '%d isgasn'
|
50
|
-
},
|
51
|
-
week : {
|
52
|
-
dow : 6, // Saturday is the first day of the week.
|
53
|
-
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
54
|
-
}
|
55
|
-
});
|
56
|
-
}));
|
55
|
+
});
|
56
|
+
|
57
|
+
return tzmLatn;
|
58
|
+
|
59
|
+
})));
|