momentjs-rails 2.15.1 → 2.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/news.md +3 -0
- data/test/integration/navigation_test.rb +1 -1
- data/vendor/assets/javascripts/moment.js +3653 -3586
- data/vendor/assets/javascripts/moment/af.js +59 -59
- data/vendor/assets/javascripts/moment/ar-dz.js +59 -0
- data/vendor/assets/javascripts/moment/ar-ly.js +111 -107
- data/vendor/assets/javascripts/moment/ar-ma.js +46 -46
- data/vendor/assets/javascripts/moment/ar-sa.js +90 -89
- data/vendor/assets/javascripts/moment/ar-tn.js +46 -46
- data/vendor/assets/javascripts/moment/ar.js +125 -120
- data/vendor/assets/javascripts/moment/az.js +90 -90
- data/vendor/assets/javascripts/moment/be.js +112 -112
- data/vendor/assets/javascripts/moment/bg.js +74 -74
- data/vendor/assets/javascripts/moment/bn.js +104 -104
- data/vendor/assets/javascripts/moment/bo.js +104 -104
- data/vendor/assets/javascripts/moment/br.js +89 -89
- data/vendor/assets/javascripts/moment/bs.js +125 -125
- data/vendor/assets/javascripts/moment/ca.js +63 -63
- data/vendor/assets/javascripts/moment/cs.js +154 -154
- data/vendor/assets/javascripts/moment/cv.js +49 -49
- data/vendor/assets/javascripts/moment/cy.js +65 -65
- data/vendor/assets/javascripts/moment/da.js +47 -47
- data/vendor/assets/javascripts/moment/de-at.js +62 -62
- data/vendor/assets/javascripts/moment/de.js +62 -62
- data/vendor/assets/javascripts/moment/dv.js +84 -83
- data/vendor/assets/javascripts/moment/el.js +81 -81
- data/vendor/assets/javascripts/moment/en-au.js +54 -54
- data/vendor/assets/javascripts/moment/en-ca.js +50 -50
- data/vendor/assets/javascripts/moment/en-gb.js +54 -54
- data/vendor/assets/javascripts/moment/en-ie.js +54 -54
- data/vendor/assets/javascripts/moment/en-nz.js +54 -54
- data/vendor/assets/javascripts/moment/eo.js +57 -57
- data/vendor/assets/javascripts/moment/es-do.js +63 -63
- data/vendor/assets/javascripts/moment/es.js +63 -63
- data/vendor/assets/javascripts/moment/et.js +64 -64
- data/vendor/assets/javascripts/moment/eu.js +53 -53
- data/vendor/assets/javascripts/moment/fa.js +92 -91
- data/vendor/assets/javascripts/moment/fi.js +92 -92
- data/vendor/assets/javascripts/moment/fo.js +47 -47
- data/vendor/assets/javascripts/moment/fr-ca.js +47 -47
- data/vendor/assets/javascripts/moment/fr-ch.js +51 -51
- data/vendor/assets/javascripts/moment/fr.js +51 -51
- data/vendor/assets/javascripts/moment/fy.js +58 -58
- data/vendor/assets/javascripts/moment/gd.js +58 -58
- data/vendor/assets/javascripts/moment/gl.js +61 -61
- data/vendor/assets/javascripts/moment/he.js +78 -78
- data/vendor/assets/javascripts/moment/hi.js +109 -109
- data/vendor/assets/javascripts/moment/hr.js +128 -128
- data/vendor/assets/javascripts/moment/hu.js +92 -92
- data/vendor/assets/javascripts/moment/hy-am.js +79 -79
- data/vendor/assets/javascripts/moment/id.js +68 -68
- data/vendor/assets/javascripts/moment/is.js +106 -106
- data/vendor/assets/javascripts/moment/it.js +54 -54
- data/vendor/assets/javascripts/moment/ja.js +62 -62
- data/vendor/assets/javascripts/moment/jv.js +69 -69
- data/vendor/assets/javascripts/moment/ka.js +71 -71
- data/vendor/assets/javascripts/moment/kk.js +73 -73
- data/vendor/assets/javascripts/moment/km.js +45 -45
- data/vendor/assets/javascripts/moment/ko.js +51 -51
- data/vendor/assets/javascripts/moment/ky.js +73 -73
- data/vendor/assets/javascripts/moment/lb.js +114 -114
- data/vendor/assets/javascripts/moment/lo.js +56 -56
- data/vendor/assets/javascripts/moment/lt.js +100 -100
- data/vendor/assets/javascripts/moment/lv.js +81 -81
- data/vendor/assets/javascripts/moment/me.js +93 -93
- data/vendor/assets/javascripts/moment/mi.js +51 -51
- data/vendor/assets/javascripts/moment/mk.js +74 -74
- data/vendor/assets/javascripts/moment/ml.js +67 -67
- data/vendor/assets/javascripts/moment/mr.js +139 -139
- data/vendor/assets/javascripts/moment/ms-my.js +68 -68
- data/vendor/assets/javascripts/moment/ms.js +68 -68
- data/vendor/assets/javascripts/moment/my.js +79 -78
- data/vendor/assets/javascripts/moment/nb.js +49 -49
- data/vendor/assets/javascripts/moment/ne.js +108 -108
- data/vendor/assets/javascripts/moment/nl-be.js +86 -0
- data/vendor/assets/javascripts/moment/nl.js +67 -67
- data/vendor/assets/javascripts/moment/nn.js +47 -47
- data/vendor/assets/javascripts/moment/pa-in.js +109 -109
- data/vendor/assets/javascripts/moment/pl.js +88 -88
- data/vendor/assets/javascripts/moment/pt-br.js +47 -47
- data/vendor/assets/javascripts/moment/pt.js +51 -51
- data/vendor/assets/javascripts/moment/ro.js +59 -59
- data/vendor/assets/javascripts/moment/ru.js +153 -153
- data/vendor/assets/javascripts/moment/se.js +47 -47
- data/vendor/assets/javascripts/moment/si.js +57 -57
- data/vendor/assets/javascripts/moment/sk.js +132 -132
- data/vendor/assets/javascripts/moment/sl.js +144 -144
- data/vendor/assets/javascripts/moment/sq.js +55 -55
- data/vendor/assets/javascripts/moment/sr-cyrl.js +93 -93
- data/vendor/assets/javascripts/moment/sr.js +93 -93
- data/vendor/assets/javascripts/moment/ss.js +73 -73
- data/vendor/assets/javascripts/moment/sv.js +56 -56
- data/vendor/assets/javascripts/moment/sw.js +46 -46
- data/vendor/assets/javascripts/moment/ta.js +115 -114
- data/vendor/assets/javascripts/moment/te.js +75 -75
- data/vendor/assets/javascripts/moment/tet.js +68 -0
- data/vendor/assets/javascripts/moment/th.js +53 -53
- data/vendor/assets/javascripts/moment/tl-ph.js +49 -49
- data/vendor/assets/javascripts/moment/tlh.js +100 -100
- data/vendor/assets/javascripts/moment/tr.js +74 -74
- data/vendor/assets/javascripts/moment/tzl.js +75 -75
- data/vendor/assets/javascripts/moment/tzm-latn.js +45 -45
- data/vendor/assets/javascripts/moment/tzm.js +45 -45
- data/vendor/assets/javascripts/moment/uk.js +125 -125
- data/vendor/assets/javascripts/moment/uz.js +45 -45
- data/vendor/assets/javascripts/moment/vi.js +65 -65
- data/vendor/assets/javascripts/moment/x-pseudo.js +55 -55
- data/vendor/assets/javascripts/moment/yo.js +60 -0
- data/vendor/assets/javascripts/moment/zh-cn.js +107 -107
- data/vendor/assets/javascripts/moment/zh-hk.js +89 -89
- data/vendor/assets/javascripts/moment/zh-tw.js +89 -89
- metadata +6 -2
@@ -8,63 +8,63 @@
|
|
8
8
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
9
9
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10
10
|
factory(global.moment)
|
11
|
-
}(this, function (moment) { 'use strict';
|
11
|
+
}(this, (function (moment) { 'use strict';
|
12
12
|
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
14
|
+
var it = moment.defineLocale('it', {
|
15
|
+
months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
|
16
|
+
monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
|
17
|
+
weekdays : 'Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato'.split('_'),
|
18
|
+
weekdaysShort : 'Dom_Lun_Mar_Mer_Gio_Ven_Sab'.split('_'),
|
19
|
+
weekdaysMin : 'Do_Lu_Ma_Me_Gi_Ve_Sa'.split('_'),
|
20
|
+
longDateFormat : {
|
21
|
+
LT : 'HH:mm',
|
22
|
+
LTS : 'HH:mm:ss',
|
23
|
+
L : 'DD/MM/YYYY',
|
24
|
+
LL : 'D MMMM YYYY',
|
25
|
+
LLL : 'D MMMM YYYY HH:mm',
|
26
|
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
27
|
+
},
|
28
|
+
calendar : {
|
29
|
+
sameDay: '[Oggi alle] LT',
|
30
|
+
nextDay: '[Domani alle] LT',
|
31
|
+
nextWeek: 'dddd [alle] LT',
|
32
|
+
lastDay: '[Ieri alle] LT',
|
33
|
+
lastWeek: function () {
|
34
|
+
switch (this.day()) {
|
35
|
+
case 0:
|
36
|
+
return '[la scorsa] dddd [alle] LT';
|
37
|
+
default:
|
38
|
+
return '[lo scorso] dddd [alle] LT';
|
39
|
+
}
|
27
40
|
},
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
lastWeek: function () {
|
34
|
-
switch (this.day()) {
|
35
|
-
case 0:
|
36
|
-
return '[la scorsa] dddd [alle] LT';
|
37
|
-
default:
|
38
|
-
return '[lo scorso] dddd [alle] LT';
|
39
|
-
}
|
40
|
-
},
|
41
|
-
sameElse: 'L'
|
41
|
+
sameElse: 'L'
|
42
|
+
},
|
43
|
+
relativeTime : {
|
44
|
+
future : function (s) {
|
45
|
+
return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s;
|
42
46
|
},
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
dow : 1, // Monday is the first day of the week.
|
64
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
65
|
-
}
|
66
|
-
});
|
47
|
+
past : '%s fa',
|
48
|
+
s : 'alcuni secondi',
|
49
|
+
m : 'un minuto',
|
50
|
+
mm : '%d minuti',
|
51
|
+
h : 'un\'ora',
|
52
|
+
hh : '%d ore',
|
53
|
+
d : 'un giorno',
|
54
|
+
dd : '%d giorni',
|
55
|
+
M : 'un mese',
|
56
|
+
MM : '%d mesi',
|
57
|
+
y : 'un anno',
|
58
|
+
yy : '%d anni'
|
59
|
+
},
|
60
|
+
ordinalParse : /\d{1,2}º/,
|
61
|
+
ordinal: '%dº',
|
62
|
+
week : {
|
63
|
+
dow : 1, // Monday is the first day of the week.
|
64
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
65
|
+
}
|
66
|
+
});
|
67
67
|
|
68
|
-
|
68
|
+
return it;
|
69
69
|
|
70
|
-
}));
|
70
|
+
})));
|
@@ -7,70 +7,70 @@
|
|
7
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
8
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
9
|
factory(global.moment)
|
10
|
-
}(this, function (moment) { 'use strict';
|
10
|
+
}(this, (function (moment) { 'use strict';
|
11
11
|
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
}
|
37
|
-
},
|
38
|
-
calendar : {
|
39
|
-
sameDay : '[今日] LT',
|
40
|
-
nextDay : '[明日] LT',
|
41
|
-
nextWeek : '[来週]dddd LT',
|
42
|
-
lastDay : '[昨日] LT',
|
43
|
-
lastWeek : '[前週]dddd LT',
|
44
|
-
sameElse : 'L'
|
45
|
-
},
|
46
|
-
ordinalParse : /\d{1,2}日/,
|
47
|
-
ordinal : function (number, period) {
|
48
|
-
switch (period) {
|
49
|
-
case 'd':
|
50
|
-
case 'D':
|
51
|
-
case 'DDD':
|
52
|
-
return number + '日';
|
53
|
-
default:
|
54
|
-
return number;
|
55
|
-
}
|
56
|
-
},
|
57
|
-
relativeTime : {
|
58
|
-
future : '%s後',
|
59
|
-
past : '%s前',
|
60
|
-
s : '数秒',
|
61
|
-
m : '1分',
|
62
|
-
mm : '%d分',
|
63
|
-
h : '1時間',
|
64
|
-
hh : '%d時間',
|
65
|
-
d : '1日',
|
66
|
-
dd : '%d日',
|
67
|
-
M : '1ヶ月',
|
68
|
-
MM : '%dヶ月',
|
69
|
-
y : '1年',
|
70
|
-
yy : '%d年'
|
13
|
+
var ja = moment.defineLocale('ja', {
|
14
|
+
months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
|
15
|
+
monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
|
16
|
+
weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
|
17
|
+
weekdaysShort : '日_月_火_水_木_金_土'.split('_'),
|
18
|
+
weekdaysMin : '日_月_火_水_木_金_土'.split('_'),
|
19
|
+
longDateFormat : {
|
20
|
+
LT : 'Ah時m分',
|
21
|
+
LTS : 'Ah時m分s秒',
|
22
|
+
L : 'YYYY/MM/DD',
|
23
|
+
LL : 'YYYY年M月D日',
|
24
|
+
LLL : 'YYYY年M月D日Ah時m分',
|
25
|
+
LLLL : 'YYYY年M月D日Ah時m分 dddd'
|
26
|
+
},
|
27
|
+
meridiemParse: /午前|午後/i,
|
28
|
+
isPM : function (input) {
|
29
|
+
return input === '午後';
|
30
|
+
},
|
31
|
+
meridiem : function (hour, minute, isLower) {
|
32
|
+
if (hour < 12) {
|
33
|
+
return '午前';
|
34
|
+
} else {
|
35
|
+
return '午後';
|
71
36
|
}
|
72
|
-
}
|
37
|
+
},
|
38
|
+
calendar : {
|
39
|
+
sameDay : '[今日] LT',
|
40
|
+
nextDay : '[明日] LT',
|
41
|
+
nextWeek : '[来週]dddd LT',
|
42
|
+
lastDay : '[昨日] LT',
|
43
|
+
lastWeek : '[前週]dddd LT',
|
44
|
+
sameElse : 'L'
|
45
|
+
},
|
46
|
+
ordinalParse : /\d{1,2}日/,
|
47
|
+
ordinal : function (number, period) {
|
48
|
+
switch (period) {
|
49
|
+
case 'd':
|
50
|
+
case 'D':
|
51
|
+
case 'DDD':
|
52
|
+
return number + '日';
|
53
|
+
default:
|
54
|
+
return number;
|
55
|
+
}
|
56
|
+
},
|
57
|
+
relativeTime : {
|
58
|
+
future : '%s後',
|
59
|
+
past : '%s前',
|
60
|
+
s : '数秒',
|
61
|
+
m : '1分',
|
62
|
+
mm : '%d分',
|
63
|
+
h : '1時間',
|
64
|
+
hh : '%d時間',
|
65
|
+
d : '1日',
|
66
|
+
dd : '%d日',
|
67
|
+
M : '1ヶ月',
|
68
|
+
MM : '%dヶ月',
|
69
|
+
y : '1年',
|
70
|
+
yy : '%d年'
|
71
|
+
}
|
72
|
+
});
|
73
73
|
|
74
|
-
|
74
|
+
return ja;
|
75
75
|
|
76
|
-
}));
|
76
|
+
})));
|
@@ -1,5 +1,5 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : Javanese [jv]
|
3
3
|
//! author : Rony Lantip : https://github.com/lantip
|
4
4
|
//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
|
5
5
|
|
@@ -8,76 +8,76 @@
|
|
8
8
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
9
9
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10
10
|
factory(global.moment)
|
11
|
-
}(this, function (moment) { 'use strict';
|
11
|
+
}(this, (function (moment) { 'use strict';
|
12
12
|
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
}
|
33
|
-
if (meridiem === 'enjing') {
|
34
|
-
return hour;
|
35
|
-
} else if (meridiem === 'siyang') {
|
36
|
-
return hour >= 11 ? hour : hour + 12;
|
37
|
-
} else if (meridiem === 'sonten' || meridiem === 'ndalu') {
|
38
|
-
return hour + 12;
|
39
|
-
}
|
40
|
-
},
|
41
|
-
meridiem : function (hours, minutes, isLower) {
|
42
|
-
if (hours < 11) {
|
43
|
-
return 'enjing';
|
44
|
-
} else if (hours < 15) {
|
45
|
-
return 'siyang';
|
46
|
-
} else if (hours < 19) {
|
47
|
-
return 'sonten';
|
48
|
-
} else {
|
49
|
-
return 'ndalu';
|
50
|
-
}
|
51
|
-
},
|
52
|
-
calendar : {
|
53
|
-
sameDay : '[Dinten puniko pukul] LT',
|
54
|
-
nextDay : '[Mbenjang pukul] LT',
|
55
|
-
nextWeek : 'dddd [pukul] LT',
|
56
|
-
lastDay : '[Kala wingi pukul] LT',
|
57
|
-
lastWeek : 'dddd [kepengker pukul] LT',
|
58
|
-
sameElse : 'L'
|
59
|
-
},
|
60
|
-
relativeTime : {
|
61
|
-
future : 'wonten ing %s',
|
62
|
-
past : '%s ingkang kepengker',
|
63
|
-
s : 'sawetawis detik',
|
64
|
-
m : 'setunggal menit',
|
65
|
-
mm : '%d menit',
|
66
|
-
h : 'setunggal jam',
|
67
|
-
hh : '%d jam',
|
68
|
-
d : 'sedinten',
|
69
|
-
dd : '%d dinten',
|
70
|
-
M : 'sewulan',
|
71
|
-
MM : '%d wulan',
|
72
|
-
y : 'setaun',
|
73
|
-
yy : '%d taun'
|
74
|
-
},
|
75
|
-
week : {
|
76
|
-
dow : 1, // Monday is the first day of the week.
|
77
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
14
|
+
var jv = moment.defineLocale('jv', {
|
15
|
+
months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'),
|
16
|
+
monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
|
17
|
+
weekdays : 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
|
18
|
+
weekdaysShort : 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
|
19
|
+
weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
|
20
|
+
longDateFormat : {
|
21
|
+
LT : 'HH.mm',
|
22
|
+
LTS : 'HH.mm.ss',
|
23
|
+
L : 'DD/MM/YYYY',
|
24
|
+
LL : 'D MMMM YYYY',
|
25
|
+
LLL : 'D MMMM YYYY [pukul] HH.mm',
|
26
|
+
LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
|
27
|
+
},
|
28
|
+
meridiemParse: /enjing|siyang|sonten|ndalu/,
|
29
|
+
meridiemHour : function (hour, meridiem) {
|
30
|
+
if (hour === 12) {
|
31
|
+
hour = 0;
|
78
32
|
}
|
79
|
-
|
33
|
+
if (meridiem === 'enjing') {
|
34
|
+
return hour;
|
35
|
+
} else if (meridiem === 'siyang') {
|
36
|
+
return hour >= 11 ? hour : hour + 12;
|
37
|
+
} else if (meridiem === 'sonten' || meridiem === 'ndalu') {
|
38
|
+
return hour + 12;
|
39
|
+
}
|
40
|
+
},
|
41
|
+
meridiem : function (hours, minutes, isLower) {
|
42
|
+
if (hours < 11) {
|
43
|
+
return 'enjing';
|
44
|
+
} else if (hours < 15) {
|
45
|
+
return 'siyang';
|
46
|
+
} else if (hours < 19) {
|
47
|
+
return 'sonten';
|
48
|
+
} else {
|
49
|
+
return 'ndalu';
|
50
|
+
}
|
51
|
+
},
|
52
|
+
calendar : {
|
53
|
+
sameDay : '[Dinten puniko pukul] LT',
|
54
|
+
nextDay : '[Mbenjang pukul] LT',
|
55
|
+
nextWeek : 'dddd [pukul] LT',
|
56
|
+
lastDay : '[Kala wingi pukul] LT',
|
57
|
+
lastWeek : 'dddd [kepengker pukul] LT',
|
58
|
+
sameElse : 'L'
|
59
|
+
},
|
60
|
+
relativeTime : {
|
61
|
+
future : 'wonten ing %s',
|
62
|
+
past : '%s ingkang kepengker',
|
63
|
+
s : 'sawetawis detik',
|
64
|
+
m : 'setunggal menit',
|
65
|
+
mm : '%d menit',
|
66
|
+
h : 'setunggal jam',
|
67
|
+
hh : '%d jam',
|
68
|
+
d : 'sedinten',
|
69
|
+
dd : '%d dinten',
|
70
|
+
M : 'sewulan',
|
71
|
+
MM : '%d wulan',
|
72
|
+
y : 'setaun',
|
73
|
+
yy : '%d taun'
|
74
|
+
},
|
75
|
+
week : {
|
76
|
+
dow : 1, // Monday is the first day of the week.
|
77
|
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
78
|
+
}
|
79
|
+
});
|
80
80
|
|
81
|
-
|
81
|
+
return jv;
|
82
82
|
|
83
|
-
}));
|
83
|
+
})));
|
@@ -7,83 +7,83 @@
|
|
7
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
8
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
9
|
factory(global.moment)
|
10
|
-
}(this, function (moment) { 'use strict';
|
10
|
+
}(this, (function (moment) { 'use strict';
|
11
11
|
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
var ka = moment.defineLocale('ka', {
|
14
|
+
months : {
|
15
|
+
standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'),
|
16
|
+
format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_')
|
17
|
+
},
|
18
|
+
monthsShort : 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
|
19
|
+
weekdays : {
|
20
|
+
standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),
|
21
|
+
format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'),
|
22
|
+
isFormat: /(წინა|შემდეგ)/
|
23
|
+
},
|
24
|
+
weekdaysShort : 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
|
25
|
+
weekdaysMin : 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
|
26
|
+
longDateFormat : {
|
27
|
+
LT : 'h:mm A',
|
28
|
+
LTS : 'h:mm:ss A',
|
29
|
+
L : 'DD/MM/YYYY',
|
30
|
+
LL : 'D MMMM YYYY',
|
31
|
+
LLL : 'D MMMM YYYY h:mm A',
|
32
|
+
LLLL : 'dddd, D MMMM YYYY h:mm A'
|
33
|
+
},
|
34
|
+
calendar : {
|
35
|
+
sameDay : '[დღეს] LT[-ზე]',
|
36
|
+
nextDay : '[ხვალ] LT[-ზე]',
|
37
|
+
lastDay : '[გუშინ] LT[-ზე]',
|
38
|
+
nextWeek : '[შემდეგ] dddd LT[-ზე]',
|
39
|
+
lastWeek : '[წინა] dddd LT-ზე',
|
40
|
+
sameElse : 'L'
|
41
|
+
},
|
42
|
+
relativeTime : {
|
43
|
+
future : function (s) {
|
44
|
+
return (/(წამი|წუთი|საათი|წელი)/).test(s) ?
|
45
|
+
s.replace(/ი$/, 'ში') :
|
46
|
+
s + 'ში';
|
17
47
|
},
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'),
|
22
|
-
isFormat: /(წინა|შემდეგ)/
|
23
|
-
},
|
24
|
-
weekdaysShort : 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
|
25
|
-
weekdaysMin : 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
|
26
|
-
longDateFormat : {
|
27
|
-
LT : 'h:mm A',
|
28
|
-
LTS : 'h:mm:ss A',
|
29
|
-
L : 'DD/MM/YYYY',
|
30
|
-
LL : 'D MMMM YYYY',
|
31
|
-
LLL : 'D MMMM YYYY h:mm A',
|
32
|
-
LLLL : 'dddd, D MMMM YYYY h:mm A'
|
33
|
-
},
|
34
|
-
calendar : {
|
35
|
-
sameDay : '[დღეს] LT[-ზე]',
|
36
|
-
nextDay : '[ხვალ] LT[-ზე]',
|
37
|
-
lastDay : '[გუშინ] LT[-ზე]',
|
38
|
-
nextWeek : '[შემდეგ] dddd LT[-ზე]',
|
39
|
-
lastWeek : '[წინა] dddd LT-ზე',
|
40
|
-
sameElse : 'L'
|
41
|
-
},
|
42
|
-
relativeTime : {
|
43
|
-
future : function (s) {
|
44
|
-
return (/(წამი|წუთი|საათი|წელი)/).test(s) ?
|
45
|
-
s.replace(/ი$/, 'ში') :
|
46
|
-
s + 'ში';
|
47
|
-
},
|
48
|
-
past : function (s) {
|
49
|
-
if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) {
|
50
|
-
return s.replace(/(ი|ე)$/, 'ის წინ');
|
51
|
-
}
|
52
|
-
if ((/წელი/).test(s)) {
|
53
|
-
return s.replace(/წელი$/, 'წლის წინ');
|
54
|
-
}
|
55
|
-
},
|
56
|
-
s : 'რამდენიმე წამი',
|
57
|
-
m : 'წუთი',
|
58
|
-
mm : '%d წუთი',
|
59
|
-
h : 'საათი',
|
60
|
-
hh : '%d საათი',
|
61
|
-
d : 'დღე',
|
62
|
-
dd : '%d დღე',
|
63
|
-
M : 'თვე',
|
64
|
-
MM : '%d თვე',
|
65
|
-
y : 'წელი',
|
66
|
-
yy : '%d წელი'
|
67
|
-
},
|
68
|
-
ordinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
|
69
|
-
ordinal : function (number) {
|
70
|
-
if (number === 0) {
|
71
|
-
return number;
|
48
|
+
past : function (s) {
|
49
|
+
if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) {
|
50
|
+
return s.replace(/(ი|ე)$/, 'ის წინ');
|
72
51
|
}
|
73
|
-
if (
|
74
|
-
return
|
52
|
+
if ((/წელი/).test(s)) {
|
53
|
+
return s.replace(/წელი$/, 'წლის წინ');
|
75
54
|
}
|
76
|
-
if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) {
|
77
|
-
return 'მე-' + number;
|
78
|
-
}
|
79
|
-
return number + '-ე';
|
80
55
|
},
|
81
|
-
|
82
|
-
|
83
|
-
|
56
|
+
s : 'რამდენიმე წამი',
|
57
|
+
m : 'წუთი',
|
58
|
+
mm : '%d წუთი',
|
59
|
+
h : 'საათი',
|
60
|
+
hh : '%d საათი',
|
61
|
+
d : 'დღე',
|
62
|
+
dd : '%d დღე',
|
63
|
+
M : 'თვე',
|
64
|
+
MM : '%d თვე',
|
65
|
+
y : 'წელი',
|
66
|
+
yy : '%d წელი'
|
67
|
+
},
|
68
|
+
ordinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
|
69
|
+
ordinal : function (number) {
|
70
|
+
if (number === 0) {
|
71
|
+
return number;
|
72
|
+
}
|
73
|
+
if (number === 1) {
|
74
|
+
return number + '-ლი';
|
75
|
+
}
|
76
|
+
if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) {
|
77
|
+
return 'მე-' + number;
|
84
78
|
}
|
85
|
-
|
79
|
+
return number + '-ე';
|
80
|
+
},
|
81
|
+
week : {
|
82
|
+
dow : 1,
|
83
|
+
doy : 7
|
84
|
+
}
|
85
|
+
});
|
86
86
|
|
87
|
-
|
87
|
+
return ka;
|
88
88
|
|
89
|
-
}));
|
89
|
+
})));
|