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,63 +1,81 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Japanese [ja]
|
3
|
+
//! author : LI Long : https://github.com/baryon
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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
|
-
}
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
y : '1年',
|
60
|
-
yy : '%d年'
|
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 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 : 'HH:mm',
|
21
|
+
LTS : 'HH:mm:ss',
|
22
|
+
L : 'YYYY/MM/DD',
|
23
|
+
LL : 'YYYY年M月D日',
|
24
|
+
LLL : 'YYYY年M月D日 HH:mm',
|
25
|
+
LLLL : 'YYYY年M月D日 HH:mm dddd',
|
26
|
+
l : 'YYYY/MM/DD',
|
27
|
+
ll : 'YYYY年M月D日',
|
28
|
+
lll : 'YYYY年M月D日 HH:mm',
|
29
|
+
llll : 'YYYY年M月D日 HH:mm dddd'
|
30
|
+
},
|
31
|
+
meridiemParse: /午前|午後/i,
|
32
|
+
isPM : function (input) {
|
33
|
+
return input === '午後';
|
34
|
+
},
|
35
|
+
meridiem : function (hour, minute, isLower) {
|
36
|
+
if (hour < 12) {
|
37
|
+
return '午前';
|
38
|
+
} else {
|
39
|
+
return '午後';
|
40
|
+
}
|
41
|
+
},
|
42
|
+
calendar : {
|
43
|
+
sameDay : '[今日] LT',
|
44
|
+
nextDay : '[明日] LT',
|
45
|
+
nextWeek : '[来週]dddd LT',
|
46
|
+
lastDay : '[昨日] LT',
|
47
|
+
lastWeek : '[前週]dddd LT',
|
48
|
+
sameElse : 'L'
|
49
|
+
},
|
50
|
+
dayOfMonthOrdinalParse : /\d{1,2}日/,
|
51
|
+
ordinal : function (number, period) {
|
52
|
+
switch (period) {
|
53
|
+
case 'd':
|
54
|
+
case 'D':
|
55
|
+
case 'DDD':
|
56
|
+
return number + '日';
|
57
|
+
default:
|
58
|
+
return number;
|
61
59
|
}
|
62
|
-
}
|
63
|
-
|
60
|
+
},
|
61
|
+
relativeTime : {
|
62
|
+
future : '%s後',
|
63
|
+
past : '%s前',
|
64
|
+
s : '数秒',
|
65
|
+
ss : '%d秒',
|
66
|
+
m : '1分',
|
67
|
+
mm : '%d分',
|
68
|
+
h : '1時間',
|
69
|
+
hh : '%d時間',
|
70
|
+
d : '1日',
|
71
|
+
dd : '%d日',
|
72
|
+
M : '1ヶ月',
|
73
|
+
MM : '%dヶ月',
|
74
|
+
y : '1年',
|
75
|
+
yy : '%d年'
|
76
|
+
}
|
77
|
+
});
|
78
|
+
|
79
|
+
return ja;
|
80
|
+
|
81
|
+
})));
|
@@ -0,0 +1,84 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Javanese [jv]
|
3
|
+
//! author : Rony Lantip : https://github.com/lantip
|
4
|
+
//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
|
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
|
+
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;
|
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
|
+
ss : '%d detik',
|
65
|
+
m : 'setunggal menit',
|
66
|
+
mm : '%d menit',
|
67
|
+
h : 'setunggal jam',
|
68
|
+
hh : '%d jam',
|
69
|
+
d : 'sedinten',
|
70
|
+
dd : '%d dinten',
|
71
|
+
M : 'sewulan',
|
72
|
+
MM : '%d wulan',
|
73
|
+
y : 'setaun',
|
74
|
+
yy : '%d taun'
|
75
|
+
},
|
76
|
+
week : {
|
77
|
+
dow : 1, // Monday is the first day of the week.
|
78
|
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
79
|
+
}
|
80
|
+
});
|
81
|
+
|
82
|
+
return jv;
|
83
|
+
|
84
|
+
})));
|
@@ -1,109 +1,90 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Georgian [ka]
|
3
|
+
//! author : Irakli Janiashvili : https://github.com/irakli-janiashvili
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
|
-
function monthsCaseReplace(m, format) {
|
15
|
-
var months = {
|
16
|
-
'nominative': 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'),
|
17
|
-
'accusative': 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_')
|
18
|
-
},
|
19
|
-
|
20
|
-
nounCase = (/D[oD] *MMMM?/).test(format) ?
|
21
|
-
'accusative' :
|
22
|
-
'nominative';
|
23
|
-
|
24
|
-
return months[nounCase][m.month()];
|
25
|
-
}
|
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';
|
26
11
|
|
27
|
-
function weekdaysCaseReplace(m, format) {
|
28
|
-
var weekdays = {
|
29
|
-
'nominative': 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),
|
30
|
-
'accusative': 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_')
|
31
|
-
},
|
32
|
-
|
33
|
-
nounCase = (/(წინა|შემდეგ)/).test(format) ?
|
34
|
-
'accusative' :
|
35
|
-
'nominative';
|
36
12
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
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 + 'ში';
|
61
47
|
},
|
62
|
-
|
63
|
-
|
64
|
-
return (/(
|
65
|
-
s.replace(/ი$/, 'ში') :
|
66
|
-
s + 'ში';
|
67
|
-
},
|
68
|
-
past : function (s) {
|
69
|
-
if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) {
|
70
|
-
return s.replace(/(ი|ე)$/, 'ის წინ');
|
71
|
-
}
|
72
|
-
if ((/წელი/).test(s)) {
|
73
|
-
return s.replace(/წელი$/, 'წლის წინ');
|
74
|
-
}
|
75
|
-
},
|
76
|
-
s : 'რამდენიმე წამი',
|
77
|
-
m : 'წუთი',
|
78
|
-
mm : '%d წუთი',
|
79
|
-
h : 'საათი',
|
80
|
-
hh : '%d საათი',
|
81
|
-
d : 'დღე',
|
82
|
-
dd : '%d დღე',
|
83
|
-
M : 'თვე',
|
84
|
-
MM : '%d თვე',
|
85
|
-
y : 'წელი',
|
86
|
-
yy : '%d წელი'
|
87
|
-
},
|
88
|
-
ordinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
|
89
|
-
ordinal : function (number) {
|
90
|
-
if (number === 0) {
|
91
|
-
return number;
|
48
|
+
past : function (s) {
|
49
|
+
if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) {
|
50
|
+
return s.replace(/(ი|ე)$/, 'ის უკან');
|
92
51
|
}
|
93
|
-
|
94
|
-
|
95
|
-
return number + '-ლი';
|
52
|
+
if ((/წელი/).test(s)) {
|
53
|
+
return s.replace(/წელი$/, 'წლის უკან');
|
96
54
|
}
|
97
|
-
|
98
|
-
if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) {
|
99
|
-
return 'მე-' + number;
|
100
|
-
}
|
101
|
-
|
102
|
-
return number + '-ე';
|
103
55
|
},
|
104
|
-
|
105
|
-
|
106
|
-
|
56
|
+
s : 'რამდენიმე წამი',
|
57
|
+
ss : '%d წამი',
|
58
|
+
m : 'წუთი',
|
59
|
+
mm : '%d წუთი',
|
60
|
+
h : 'საათი',
|
61
|
+
hh : '%d საათი',
|
62
|
+
d : 'დღე',
|
63
|
+
dd : '%d დღე',
|
64
|
+
M : 'თვე',
|
65
|
+
MM : '%d თვე',
|
66
|
+
y : 'წელი',
|
67
|
+
yy : '%d წელი'
|
68
|
+
},
|
69
|
+
dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
|
70
|
+
ordinal : function (number) {
|
71
|
+
if (number === 0) {
|
72
|
+
return number;
|
107
73
|
}
|
108
|
-
|
109
|
-
|
74
|
+
if (number === 1) {
|
75
|
+
return number + '-ლი';
|
76
|
+
}
|
77
|
+
if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) {
|
78
|
+
return 'მე-' + number;
|
79
|
+
}
|
80
|
+
return number + '-ე';
|
81
|
+
},
|
82
|
+
week : {
|
83
|
+
dow : 1,
|
84
|
+
doy : 7
|
85
|
+
}
|
86
|
+
});
|
87
|
+
|
88
|
+
return ka;
|
89
|
+
|
90
|
+
})));
|
@@ -0,0 +1,88 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Kazakh [kk]
|
3
|
+
//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
|
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 suffixes = {
|
14
|
+
0: '-ші',
|
15
|
+
1: '-ші',
|
16
|
+
2: '-ші',
|
17
|
+
3: '-ші',
|
18
|
+
4: '-ші',
|
19
|
+
5: '-ші',
|
20
|
+
6: '-шы',
|
21
|
+
7: '-ші',
|
22
|
+
8: '-ші',
|
23
|
+
9: '-шы',
|
24
|
+
10: '-шы',
|
25
|
+
20: '-шы',
|
26
|
+
30: '-шы',
|
27
|
+
40: '-шы',
|
28
|
+
50: '-ші',
|
29
|
+
60: '-шы',
|
30
|
+
70: '-ші',
|
31
|
+
80: '-ші',
|
32
|
+
90: '-шы',
|
33
|
+
100: '-ші'
|
34
|
+
};
|
35
|
+
|
36
|
+
var kk = moment.defineLocale('kk', {
|
37
|
+
months : 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'),
|
38
|
+
monthsShort : 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
|
39
|
+
weekdays : 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'),
|
40
|
+
weekdaysShort : 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
|
41
|
+
weekdaysMin : 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
|
42
|
+
longDateFormat : {
|
43
|
+
LT : 'HH:mm',
|
44
|
+
LTS : 'HH:mm:ss',
|
45
|
+
L : 'DD.MM.YYYY',
|
46
|
+
LL : 'D MMMM YYYY',
|
47
|
+
LLL : 'D MMMM YYYY HH:mm',
|
48
|
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
49
|
+
},
|
50
|
+
calendar : {
|
51
|
+
sameDay : '[Бүгін сағат] LT',
|
52
|
+
nextDay : '[Ертең сағат] LT',
|
53
|
+
nextWeek : 'dddd [сағат] LT',
|
54
|
+
lastDay : '[Кеше сағат] LT',
|
55
|
+
lastWeek : '[Өткен аптаның] dddd [сағат] LT',
|
56
|
+
sameElse : 'L'
|
57
|
+
},
|
58
|
+
relativeTime : {
|
59
|
+
future : '%s ішінде',
|
60
|
+
past : '%s бұрын',
|
61
|
+
s : 'бірнеше секунд',
|
62
|
+
ss : '%d секунд',
|
63
|
+
m : 'бір минут',
|
64
|
+
mm : '%d минут',
|
65
|
+
h : 'бір сағат',
|
66
|
+
hh : '%d сағат',
|
67
|
+
d : 'бір күн',
|
68
|
+
dd : '%d күн',
|
69
|
+
M : 'бір ай',
|
70
|
+
MM : '%d ай',
|
71
|
+
y : 'бір жыл',
|
72
|
+
yy : '%d жыл'
|
73
|
+
},
|
74
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
|
75
|
+
ordinal : function (number) {
|
76
|
+
var a = number % 10,
|
77
|
+
b = number >= 100 ? 100 : null;
|
78
|
+
return number + (suffixes[number] || suffixes[a] || suffixes[b]);
|
79
|
+
},
|
80
|
+
week : {
|
81
|
+
dow : 1, // Monday is the first day of the week.
|
82
|
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
83
|
+
}
|
84
|
+
});
|
85
|
+
|
86
|
+
return kk;
|
87
|
+
|
88
|
+
})));
|
@@ -1,56 +1,59 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Cambodian [km]
|
3
|
+
//! author : Kruy Vanna : https://github.com/kruyvanna
|
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 km = moment.defineLocale('km', {
|
14
|
+
months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
|
15
|
+
monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
|
16
|
+
weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
|
17
|
+
weekdaysShort: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
|
18
|
+
weekdaysMin: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.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: '[ថ្ងៃនេះ ម៉ោង] LT',
|
29
|
+
nextDay: '[ស្អែក ម៉ោង] LT',
|
30
|
+
nextWeek: 'dddd [ម៉ោង] LT',
|
31
|
+
lastDay: '[ម្សិលមិញ ម៉ោង] LT',
|
32
|
+
lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
|
33
|
+
sameElse: 'L'
|
34
|
+
},
|
35
|
+
relativeTime: {
|
36
|
+
future: '%sទៀត',
|
37
|
+
past: '%sមុន',
|
38
|
+
s: 'ប៉ុន្មានវិនាទី',
|
39
|
+
ss: '%d វិនាទី',
|
40
|
+
m: 'មួយនាទី',
|
41
|
+
mm: '%d នាទី',
|
42
|
+
h: 'មួយម៉ោង',
|
43
|
+
hh: '%d ម៉ោង',
|
44
|
+
d: 'មួយថ្ងៃ',
|
45
|
+
dd: '%d ថ្ងៃ',
|
46
|
+
M: 'មួយខែ',
|
47
|
+
MM: '%d ខែ',
|
48
|
+
y: 'មួយឆ្នាំ',
|
49
|
+
yy: '%d ឆ្នាំ'
|
50
|
+
},
|
51
|
+
week: {
|
52
|
+
dow: 1, // Monday is the first day of the week.
|
53
|
+
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
12
54
|
}
|
13
|
-
}
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
weekdaysShort: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
|
19
|
-
weekdaysMin: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.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: '[ថ្ងៃនៈ ម៉ោង] LT',
|
30
|
-
nextDay: '[ស្អែក ម៉ោង] LT',
|
31
|
-
nextWeek: 'dddd [ម៉ោង] LT',
|
32
|
-
lastDay: '[ម្សិលមិញ ម៉ោង] LT',
|
33
|
-
lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
|
34
|
-
sameElse: 'L'
|
35
|
-
},
|
36
|
-
relativeTime: {
|
37
|
-
future: '%sទៀត',
|
38
|
-
past: '%sមុន',
|
39
|
-
s: 'ប៉ុន្មានវិនាទី',
|
40
|
-
m: 'មួយនាទី',
|
41
|
-
mm: '%d នាទី',
|
42
|
-
h: 'មួយម៉ោង',
|
43
|
-
hh: '%d ម៉ោង',
|
44
|
-
d: 'មួយថ្ងៃ',
|
45
|
-
dd: '%d ថ្ងៃ',
|
46
|
-
M: 'មួយខែ',
|
47
|
-
MM: '%d ខែ',
|
48
|
-
y: 'មួយឆ្នាំ',
|
49
|
-
yy: '%d ឆ្នាំ'
|
50
|
-
},
|
51
|
-
week: {
|
52
|
-
dow: 1, // Monday is the first day of the week.
|
53
|
-
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
54
|
-
}
|
55
|
-
});
|
56
|
-
}));
|
55
|
+
});
|
56
|
+
|
57
|
+
return km;
|
58
|
+
|
59
|
+
})));
|