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
@@ -0,0 +1,60 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Swahili [sw]
|
3
|
+
//! author : Fahad Kassim : https://github.com/fadsel
|
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 sw = moment.defineLocale('sw', {
|
14
|
+
months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),
|
15
|
+
monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
|
16
|
+
weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),
|
17
|
+
weekdaysShort : 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
|
18
|
+
weekdaysMin : 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
|
19
|
+
weekdaysParseExact : true,
|
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 : '[leo saa] LT',
|
30
|
+
nextDay : '[kesho saa] LT',
|
31
|
+
nextWeek : '[wiki ijayo] dddd [saat] LT',
|
32
|
+
lastDay : '[jana] LT',
|
33
|
+
lastWeek : '[wiki iliyopita] dddd [saat] LT',
|
34
|
+
sameElse : 'L'
|
35
|
+
},
|
36
|
+
relativeTime : {
|
37
|
+
future : '%s baadaye',
|
38
|
+
past : 'tokea %s',
|
39
|
+
s : 'hivi punde',
|
40
|
+
ss : 'sekunde %d',
|
41
|
+
m : 'dakika moja',
|
42
|
+
mm : 'dakika %d',
|
43
|
+
h : 'saa limoja',
|
44
|
+
hh : 'masaa %d',
|
45
|
+
d : 'siku moja',
|
46
|
+
dd : 'masiku %d',
|
47
|
+
M : 'mwezi mmoja',
|
48
|
+
MM : 'miezi %d',
|
49
|
+
y : 'mwaka mmoja',
|
50
|
+
yy : 'miaka %d'
|
51
|
+
},
|
52
|
+
week : {
|
53
|
+
dow : 1, // Monday is the first day of the week.
|
54
|
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
55
|
+
}
|
56
|
+
});
|
57
|
+
|
58
|
+
return sw;
|
59
|
+
|
60
|
+
})));
|
@@ -1,130 +1,131 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Tamil [ta]
|
3
|
+
//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404
|
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
|
-
/*var symbolMap = {
|
15
|
-
'1': '௧',
|
16
|
-
'2': '௨',
|
17
|
-
'3': '௩',
|
18
|
-
'4': '௪',
|
19
|
-
'5': '௫',
|
20
|
-
'6': '௬',
|
21
|
-
'7': '௭',
|
22
|
-
'8': '௮',
|
23
|
-
'9': '௯',
|
24
|
-
'0': '௦'
|
25
|
-
},
|
26
|
-
numberMap = {
|
27
|
-
'௧': '1',
|
28
|
-
'௨': '2',
|
29
|
-
'௩': '3',
|
30
|
-
'௪': '4',
|
31
|
-
'௫': '5',
|
32
|
-
'௬': '6',
|
33
|
-
'௭': '7',
|
34
|
-
'௮': '8',
|
35
|
-
'௯': '9',
|
36
|
-
'௦': '0'
|
37
|
-
}; */
|
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';
|
38
11
|
|
39
|
-
return moment.defineLocale('ta', {
|
40
|
-
months : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
|
41
|
-
monthsShort : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
|
42
|
-
weekdays : 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'),
|
43
|
-
weekdaysShort : 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'),
|
44
|
-
weekdaysMin : 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
|
45
|
-
longDateFormat : {
|
46
|
-
LT : 'HH:mm',
|
47
|
-
LTS : 'LT:ss',
|
48
|
-
L : 'DD/MM/YYYY',
|
49
|
-
LL : 'D MMMM YYYY',
|
50
|
-
LLL : 'D MMMM YYYY, LT',
|
51
|
-
LLLL : 'dddd, D MMMM YYYY, LT'
|
52
|
-
},
|
53
|
-
calendar : {
|
54
|
-
sameDay : '[இன்று] LT',
|
55
|
-
nextDay : '[நாளை] LT',
|
56
|
-
nextWeek : 'dddd, LT',
|
57
|
-
lastDay : '[நேற்று] LT',
|
58
|
-
lastWeek : '[கடந்த வாரம்] dddd, LT',
|
59
|
-
sameElse : 'L'
|
60
|
-
},
|
61
|
-
relativeTime : {
|
62
|
-
future : '%s இல்',
|
63
|
-
past : '%s முன்',
|
64
|
-
s : 'ஒரு சில விநாடிகள்',
|
65
|
-
m : 'ஒரு நிமிடம்',
|
66
|
-
mm : '%d நிமிடங்கள்',
|
67
|
-
h : 'ஒரு மணி நேரம்',
|
68
|
-
hh : '%d மணி நேரம்',
|
69
|
-
d : 'ஒரு நாள்',
|
70
|
-
dd : '%d நாட்கள்',
|
71
|
-
M : 'ஒரு மாதம்',
|
72
|
-
MM : '%d மாதங்கள்',
|
73
|
-
y : 'ஒரு வருடம்',
|
74
|
-
yy : '%d ஆண்டுகள்'
|
75
|
-
},
|
76
|
-
/* preparse: function (string) {
|
77
|
-
return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
|
78
|
-
return numberMap[match];
|
79
|
-
});
|
80
|
-
},
|
81
|
-
postformat: function (string) {
|
82
|
-
return string.replace(/\d/g, function (match) {
|
83
|
-
return symbolMap[match];
|
84
|
-
});
|
85
|
-
},*/
|
86
|
-
ordinalParse: /\d{1,2}வது/,
|
87
|
-
ordinal : function (number) {
|
88
|
-
return number + 'வது';
|
89
|
-
},
|
90
12
|
|
13
|
+
var symbolMap = {
|
14
|
+
'1': '௧',
|
15
|
+
'2': '௨',
|
16
|
+
'3': '௩',
|
17
|
+
'4': '௪',
|
18
|
+
'5': '௫',
|
19
|
+
'6': '௬',
|
20
|
+
'7': '௭',
|
21
|
+
'8': '௮',
|
22
|
+
'9': '௯',
|
23
|
+
'0': '௦'
|
24
|
+
};
|
25
|
+
var numberMap = {
|
26
|
+
'௧': '1',
|
27
|
+
'௨': '2',
|
28
|
+
'௩': '3',
|
29
|
+
'௪': '4',
|
30
|
+
'௫': '5',
|
31
|
+
'௬': '6',
|
32
|
+
'௭': '7',
|
33
|
+
'௮': '8',
|
34
|
+
'௯': '9',
|
35
|
+
'௦': '0'
|
36
|
+
};
|
91
37
|
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
38
|
+
var ta = moment.defineLocale('ta', {
|
39
|
+
months : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
|
40
|
+
monthsShort : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
|
41
|
+
weekdays : 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'),
|
42
|
+
weekdaysShort : 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'),
|
43
|
+
weekdaysMin : 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
|
44
|
+
longDateFormat : {
|
45
|
+
LT : 'HH:mm',
|
46
|
+
LTS : 'HH:mm:ss',
|
47
|
+
L : 'DD/MM/YYYY',
|
48
|
+
LL : 'D MMMM YYYY',
|
49
|
+
LLL : 'D MMMM YYYY, HH:mm',
|
50
|
+
LLLL : 'dddd, D MMMM YYYY, HH:mm'
|
51
|
+
},
|
52
|
+
calendar : {
|
53
|
+
sameDay : '[இன்று] LT',
|
54
|
+
nextDay : '[நாளை] LT',
|
55
|
+
nextWeek : 'dddd, LT',
|
56
|
+
lastDay : '[நேற்று] LT',
|
57
|
+
lastWeek : '[கடந்த வாரம்] dddd, LT',
|
58
|
+
sameElse : 'L'
|
59
|
+
},
|
60
|
+
relativeTime : {
|
61
|
+
future : '%s இல்',
|
62
|
+
past : '%s முன்',
|
63
|
+
s : 'ஒரு சில விநாடிகள்',
|
64
|
+
ss : '%d விநாடிகள்',
|
65
|
+
m : 'ஒரு நிமிடம்',
|
66
|
+
mm : '%d நிமிடங்கள்',
|
67
|
+
h : 'ஒரு மணி நேரம்',
|
68
|
+
hh : '%d மணி நேரம்',
|
69
|
+
d : 'ஒரு நாள்',
|
70
|
+
dd : '%d நாட்கள்',
|
71
|
+
M : 'ஒரு மாதம்',
|
72
|
+
MM : '%d மாதங்கள்',
|
73
|
+
y : 'ஒரு வருடம்',
|
74
|
+
yy : '%d ஆண்டுகள்'
|
75
|
+
},
|
76
|
+
dayOfMonthOrdinalParse: /\d{1,2}வது/,
|
77
|
+
ordinal : function (number) {
|
78
|
+
return number + 'வது';
|
79
|
+
},
|
80
|
+
preparse: function (string) {
|
81
|
+
return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
|
82
|
+
return numberMap[match];
|
83
|
+
});
|
84
|
+
},
|
85
|
+
postformat: function (string) {
|
86
|
+
return string.replace(/\d/g, function (match) {
|
87
|
+
return symbolMap[match];
|
88
|
+
});
|
89
|
+
},
|
90
|
+
// refer http://ta.wikipedia.org/s/1er1
|
91
|
+
meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
|
92
|
+
meridiem : function (hour, minute, isLower) {
|
93
|
+
if (hour < 2) {
|
94
|
+
return ' யாமம்';
|
95
|
+
} else if (hour < 6) {
|
96
|
+
return ' வைகறை'; // வைகறை
|
97
|
+
} else if (hour < 10) {
|
98
|
+
return ' காலை'; // காலை
|
99
|
+
} else if (hour < 14) {
|
100
|
+
return ' நண்பகல்'; // நண்பகல்
|
101
|
+
} else if (hour < 18) {
|
102
|
+
return ' எற்பாடு'; // எற்பாடு
|
103
|
+
} else if (hour < 22) {
|
104
|
+
return ' மாலை'; // மாலை
|
105
|
+
} else {
|
106
|
+
return ' யாமம்';
|
107
|
+
}
|
108
|
+
},
|
109
|
+
meridiemHour : function (hour, meridiem) {
|
110
|
+
if (hour === 12) {
|
111
|
+
hour = 0;
|
112
|
+
}
|
113
|
+
if (meridiem === 'யாமம்') {
|
114
|
+
return hour < 2 ? hour : hour + 12;
|
115
|
+
} else if (meridiem === 'வைகறை' || meridiem === 'காலை') {
|
116
|
+
return hour;
|
117
|
+
} else if (meridiem === 'நண்பகல்') {
|
118
|
+
return hour >= 10 ? hour : hour + 12;
|
119
|
+
} else {
|
120
|
+
return hour + 12;
|
128
121
|
}
|
129
|
-
}
|
130
|
-
|
122
|
+
},
|
123
|
+
week : {
|
124
|
+
dow : 0, // Sunday is the first day of the week.
|
125
|
+
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
126
|
+
}
|
127
|
+
});
|
128
|
+
|
129
|
+
return ta;
|
130
|
+
|
131
|
+
})));
|
@@ -0,0 +1,90 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Telugu [te]
|
3
|
+
//! author : Krishna Chaitanya Thota : https://github.com/kcthota
|
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 te = moment.defineLocale('te', {
|
14
|
+
months : 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'),
|
15
|
+
monthsShort : 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'),
|
16
|
+
monthsParseExact : true,
|
17
|
+
weekdays : 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'),
|
18
|
+
weekdaysShort : 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
|
19
|
+
weekdaysMin : 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
|
20
|
+
longDateFormat : {
|
21
|
+
LT : 'A h:mm',
|
22
|
+
LTS : 'A h:mm:ss',
|
23
|
+
L : 'DD/MM/YYYY',
|
24
|
+
LL : 'D MMMM YYYY',
|
25
|
+
LLL : 'D MMMM YYYY, A h:mm',
|
26
|
+
LLLL : 'dddd, D MMMM YYYY, A h:mm'
|
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
|
+
ss : '%d సెకన్లు',
|
41
|
+
m : 'ఒక నిమిషం',
|
42
|
+
mm : '%d నిమిషాలు',
|
43
|
+
h : 'ఒక గంట',
|
44
|
+
hh : '%d గంటలు',
|
45
|
+
d : 'ఒక రోజు',
|
46
|
+
dd : '%d రోజులు',
|
47
|
+
M : 'ఒక నెల',
|
48
|
+
MM : '%d నెలలు',
|
49
|
+
y : 'ఒక సంవత్సరం',
|
50
|
+
yy : '%d సంవత్సరాలు'
|
51
|
+
},
|
52
|
+
dayOfMonthOrdinalParse : /\d{1,2}వ/,
|
53
|
+
ordinal : '%dవ',
|
54
|
+
meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
|
55
|
+
meridiemHour : function (hour, meridiem) {
|
56
|
+
if (hour === 12) {
|
57
|
+
hour = 0;
|
58
|
+
}
|
59
|
+
if (meridiem === 'రాత్రి') {
|
60
|
+
return hour < 4 ? hour : hour + 12;
|
61
|
+
} else if (meridiem === 'ఉదయం') {
|
62
|
+
return hour;
|
63
|
+
} else if (meridiem === 'మధ్యాహ్నం') {
|
64
|
+
return hour >= 10 ? hour : hour + 12;
|
65
|
+
} else if (meridiem === 'సాయంత్రం') {
|
66
|
+
return hour + 12;
|
67
|
+
}
|
68
|
+
},
|
69
|
+
meridiem : function (hour, minute, isLower) {
|
70
|
+
if (hour < 4) {
|
71
|
+
return 'రాత్రి';
|
72
|
+
} else if (hour < 10) {
|
73
|
+
return 'ఉదయం';
|
74
|
+
} else if (hour < 17) {
|
75
|
+
return 'మధ్యాహ్నం';
|
76
|
+
} else if (hour < 20) {
|
77
|
+
return 'సాయంత్రం';
|
78
|
+
} else {
|
79
|
+
return 'రాత్రి';
|
80
|
+
}
|
81
|
+
},
|
82
|
+
week : {
|
83
|
+
dow : 0, // Sunday is the first day of the week.
|
84
|
+
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
85
|
+
}
|
86
|
+
});
|
87
|
+
|
88
|
+
return te;
|
89
|
+
|
90
|
+
})));
|
@@ -0,0 +1,69 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Tetun Dili (East Timor) [tet]
|
3
|
+
//! author : Joshua Brooks : https://github.com/joshbrooks
|
4
|
+
//! author : Onorio De J. Afonso : https://github.com/marobo
|
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 tet = moment.defineLocale('tet', {
|
15
|
+
months : 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru'.split('_'),
|
16
|
+
monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez'.split('_'),
|
17
|
+
weekdays : 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu'.split('_'),
|
18
|
+
weekdaysShort : 'Dom_Seg_Ters_Kua_Kint_Sext_Sab'.split('_'),
|
19
|
+
weekdaysMin : 'Do_Seg_Te_Ku_Ki_Sex_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: '[Ohin iha] LT',
|
30
|
+
nextDay: '[Aban iha] LT',
|
31
|
+
nextWeek: 'dddd [iha] LT',
|
32
|
+
lastDay: '[Horiseik iha] LT',
|
33
|
+
lastWeek: 'dddd [semana kotuk] [iha] LT',
|
34
|
+
sameElse: 'L'
|
35
|
+
},
|
36
|
+
relativeTime : {
|
37
|
+
future : 'iha %s',
|
38
|
+
past : '%s liuba',
|
39
|
+
s : 'minutu balun',
|
40
|
+
ss : 'minutu %d',
|
41
|
+
m : 'minutu ida',
|
42
|
+
mm : 'minutus %d',
|
43
|
+
h : 'horas ida',
|
44
|
+
hh : 'horas %d',
|
45
|
+
d : 'loron ida',
|
46
|
+
dd : 'loron %d',
|
47
|
+
M : 'fulan ida',
|
48
|
+
MM : 'fulan %d',
|
49
|
+
y : 'tinan ida',
|
50
|
+
yy : 'tinan %d'
|
51
|
+
},
|
52
|
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
53
|
+
ordinal : function (number) {
|
54
|
+
var b = number % 10,
|
55
|
+
output = (~~(number % 100 / 10) === 1) ? 'th' :
|
56
|
+
(b === 1) ? 'st' :
|
57
|
+
(b === 2) ? 'nd' :
|
58
|
+
(b === 3) ? 'rd' : 'th';
|
59
|
+
return number + output;
|
60
|
+
},
|
61
|
+
week : {
|
62
|
+
dow : 1, // Monday is the first day of the week.
|
63
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
64
|
+
}
|
65
|
+
});
|
66
|
+
|
67
|
+
return tet;
|
68
|
+
|
69
|
+
})));
|
@@ -1,63 +1,68 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Thai [th]
|
3
|
+
//! author : Kridsada Thanabulpong : https://github.com/sirn
|
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
|
-
calendar : {
|
40
|
-
sameDay : '[วันนี้ เวลา] LT',
|
41
|
-
nextDay : '[พรุ่งนี้ เวลา] LT',
|
42
|
-
nextWeek : 'dddd[หน้า เวลา] LT',
|
43
|
-
lastDay : '[เมื่อวานนี้ เวลา] LT',
|
44
|
-
lastWeek : '[วัน]dddd[ที่แล้ว เวลา] LT',
|
45
|
-
sameElse : 'L'
|
46
|
-
},
|
47
|
-
relativeTime : {
|
48
|
-
future : 'อีก %s',
|
49
|
-
past : '%sที่แล้ว',
|
50
|
-
s : 'ไม่กี่วินาที',
|
51
|
-
m : '1 นาที',
|
52
|
-
mm : '%d นาที',
|
53
|
-
h : '1 ชั่วโมง',
|
54
|
-
hh : '%d ชั่วโมง',
|
55
|
-
d : '1 วัน',
|
56
|
-
dd : '%d วัน',
|
57
|
-
M : '1 เดือน',
|
58
|
-
MM : '%d เดือน',
|
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 th = moment.defineLocale('th', {
|
14
|
+
months : 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'),
|
15
|
+
monthsShort : 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'),
|
16
|
+
monthsParseExact: true,
|
17
|
+
weekdays : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
|
18
|
+
weekdaysShort : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
|
19
|
+
weekdaysMin : 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
|
20
|
+
weekdaysParseExact : true,
|
21
|
+
longDateFormat : {
|
22
|
+
LT : 'H:mm',
|
23
|
+
LTS : 'H:mm:ss',
|
24
|
+
L : 'DD/MM/YYYY',
|
25
|
+
LL : 'D MMMM YYYY',
|
26
|
+
LLL : 'D MMMM YYYY เวลา H:mm',
|
27
|
+
LLLL : 'วันddddที่ D MMMM YYYY เวลา H:mm'
|
28
|
+
},
|
29
|
+
meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
|
30
|
+
isPM: function (input) {
|
31
|
+
return input === 'หลังเที่ยง';
|
32
|
+
},
|
33
|
+
meridiem : function (hour, minute, isLower) {
|
34
|
+
if (hour < 12) {
|
35
|
+
return 'ก่อนเที่ยง';
|
36
|
+
} else {
|
37
|
+
return 'หลังเที่ยง';
|
61
38
|
}
|
62
|
-
}
|
63
|
-
|
39
|
+
},
|
40
|
+
calendar : {
|
41
|
+
sameDay : '[วันนี้ เวลา] LT',
|
42
|
+
nextDay : '[พรุ่งนี้ เวลา] LT',
|
43
|
+
nextWeek : 'dddd[หน้า เวลา] LT',
|
44
|
+
lastDay : '[เมื่อวานนี้ เวลา] LT',
|
45
|
+
lastWeek : '[วัน]dddd[ที่แล้ว เวลา] LT',
|
46
|
+
sameElse : 'L'
|
47
|
+
},
|
48
|
+
relativeTime : {
|
49
|
+
future : 'อีก %s',
|
50
|
+
past : '%sที่แล้ว',
|
51
|
+
s : 'ไม่กี่วินาที',
|
52
|
+
ss : '%d วินาที',
|
53
|
+
m : '1 นาที',
|
54
|
+
mm : '%d นาที',
|
55
|
+
h : '1 ชั่วโมง',
|
56
|
+
hh : '%d ชั่วโมง',
|
57
|
+
d : '1 วัน',
|
58
|
+
dd : '%d วัน',
|
59
|
+
M : '1 เดือน',
|
60
|
+
MM : '%d เดือน',
|
61
|
+
y : '1 ปี',
|
62
|
+
yy : '%d ปี'
|
63
|
+
}
|
64
|
+
});
|
65
|
+
|
66
|
+
return th;
|
67
|
+
|
68
|
+
})));
|