momentjs-rails 2.29.1 → 2.29.1.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/dummy/tmp/cache/assets/sprockets/v4.0.0/1g/1giZXIzjQTIHLJ30if0Cxp6LHLNLyLvCt66HPyr7S9Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/4l/4laR_NL9p0jWaBh-kVGkzBwhRp0MzmdAkBI_mccpvxQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5A/5ACbsliWc2erDYoI0QUGjRXJIXW_JRiuIjLhVhIZc88.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5h/5h-ruujSKgsZz79GwDnzkAalkJoWGzpepGc2xuQDVsA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5q/5qkRnQf0206eJO9YiwkpxUs7yZ4f50rNMuCFJaryc0c.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/8Z/8ZS9j7aGFdwDIFga-3KoPCkVogPmZ-NekN5uBOSE5QU.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/8e/8eQxu2zgyp7bsTrrVsa4QKmGNNNJ5YVMc2HsybmUamg.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ai/AiuMstvaIxiBhMWFk2cj5HVrvdG-c98_PaheKtkPYj0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/IN/INM03spFgth_-zzNy3cfUv3ATbaBRjFWWj1kGQYmcTA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/MY/MYzGrw0IXUX2kX7p7ewfG8d7UsRV5X17R5hdQq8CTZI.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Yw/YwG9q2kyDHA7PseIrAE66Qe2IFNrhUtDbdgulyvgEfI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/fw/fwDh4S50V5wK-MsABSBJ2ghx6XKATSRASedKP69FwnA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lw/lwVIcNwb-0tSyXePavJPzb_NJwTR5_Y-qNk_rkqyfLY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wq/wqYc1aiYr9phcM5WCWD3P8qxwERbfkuO8u-ZrsLaiPI.cache +1 -0
- data/vendor/assets/javascripts/moment/af.js +77 -66
- data/vendor/assets/javascripts/moment/ar-dz.js +156 -145
- data/vendor/assets/javascripts/moment/ar-kw.js +60 -49
- data/vendor/assets/javascripts/moment/ar-ly.js +175 -164
- data/vendor/assets/javascripts/moment/ar-ma.js +60 -49
- data/vendor/assets/javascripts/moment/ar-sa.js +109 -98
- data/vendor/assets/javascripts/moment/ar-tn.js +60 -49
- data/vendor/assets/javascripts/moment/ar.js +191 -180
- data/vendor/assets/javascripts/moment/az.js +106 -95
- data/vendor/assets/javascripts/moment/be.js +138 -127
- data/vendor/assets/javascripts/moment/bg.js +91 -80
- data/vendor/assets/javascripts/moment/bm.js +57 -47
- data/vendor/assets/javascripts/moment/bn-bd.js +131 -120
- data/vendor/assets/javascripts/moment/bn.js +123 -112
- data/vendor/assets/javascripts/moment/bo.js +127 -116
- data/vendor/assets/javascripts/moment/br.js +162 -151
- data/vendor/assets/javascripts/moment/bs.js +150 -139
- data/vendor/assets/javascripts/moment/ca.js +94 -83
- data/vendor/assets/javascripts/moment/cs.js +172 -161
- data/vendor/assets/javascripts/moment/cv.js +67 -56
- data/vendor/assets/javascripts/moment/cy.js +101 -90
- data/vendor/assets/javascripts/moment/da.js +59 -48
- data/vendor/assets/javascripts/moment/de-at.js +81 -70
- data/vendor/assets/javascripts/moment/de-ch.js +80 -71
- data/vendor/assets/javascripts/moment/de.js +81 -70
- data/vendor/assets/javascripts/moment/dv.js +95 -84
- data/vendor/assets/javascripts/moment/el.js +107 -96
- data/vendor/assets/javascripts/moment/en-au.js +74 -63
- data/vendor/assets/javascripts/moment/en-ca.js +70 -59
- data/vendor/assets/javascripts/moment/en-gb.js +74 -63
- data/vendor/assets/javascripts/moment/en-ie.js +74 -63
- data/vendor/assets/javascripts/moment/en-il.js +70 -59
- data/vendor/assets/javascripts/moment/en-in.js +74 -63
- data/vendor/assets/javascripts/moment/en-nz.js +74 -63
- data/vendor/assets/javascripts/moment/en-sg.js +74 -63
- data/vendor/assets/javascripts/moment/eo.js +71 -60
- data/vendor/assets/javascripts/moment/es-do.js +105 -94
- data/vendor/assets/javascripts/moment/es-mx.js +106 -95
- data/vendor/assets/javascripts/moment/es-us.js +105 -94
- data/vendor/assets/javascripts/moment/es.js +106 -95
- data/vendor/assets/javascripts/moment/et.js +81 -70
- data/vendor/assets/javascripts/moment/eu.js +69 -58
- data/vendor/assets/javascripts/moment/fa.js +115 -104
- data/vendor/assets/javascripts/moment/fi.js +125 -114
- data/vendor/assets/javascripts/moment/fil.js +63 -52
- data/vendor/assets/javascripts/moment/fo.js +61 -50
- data/vendor/assets/javascripts/moment/fr-ca.js +74 -63
- data/vendor/assets/javascripts/moment/fr-ch.js +78 -67
- data/vendor/assets/javascripts/moment/fr.js +107 -96
- data/vendor/assets/javascripts/moment/fy.js +81 -70
- data/vendor/assets/javascripts/moment/ga.js +100 -89
- data/vendor/assets/javascripts/moment/gd.js +100 -89
- data/vendor/assets/javascripts/moment/gl.js +76 -65
- data/vendor/assets/javascripts/moment/gom-deva.js +127 -116
- data/vendor/assets/javascripts/moment/gom-latn.js +127 -116
- data/vendor/assets/javascripts/moment/gu.js +126 -115
- data/vendor/assets/javascripts/moment/he.js +93 -82
- data/vendor/assets/javascripts/moment/hi.js +161 -150
- data/vendor/assets/javascripts/moment/hr.js +152 -141
- data/vendor/assets/javascripts/moment/hu.js +119 -108
- data/vendor/assets/javascripts/moment/hy-am.js +94 -83
- data/vendor/assets/javascripts/moment/id.js +81 -70
- data/vendor/assets/javascripts/moment/is.js +137 -126
- data/vendor/assets/javascripts/moment/it-ch.js +68 -57
- data/vendor/assets/javascripts/moment/it.js +106 -95
- data/vendor/assets/javascripts/moment/ja.js +146 -135
- data/vendor/assets/javascripts/moment/jv.js +81 -70
- data/vendor/assets/javascripts/moment/ka.js +92 -81
- data/vendor/assets/javascripts/moment/kk.js +87 -76
- data/vendor/assets/javascripts/moment/km.js +107 -96
- data/vendor/assets/javascripts/moment/kn.js +128 -117
- data/vendor/assets/javascripts/moment/ko.js +80 -69
- data/vendor/assets/javascripts/moment/ku.js +123 -112
- data/vendor/assets/javascripts/moment/ky.js +89 -78
- data/vendor/assets/javascripts/moment/lb.js +132 -121
- data/vendor/assets/javascripts/moment/lo.js +71 -60
- data/vendor/assets/javascripts/moment/lt.js +125 -114
- data/vendor/assets/javascripts/moment/lv.js +96 -85
- data/vendor/assets/javascripts/moment/me.js +120 -109
- data/vendor/assets/javascripts/moment/mi.js +65 -54
- data/vendor/assets/javascripts/moment/mk.js +90 -78
- data/vendor/assets/javascripts/moment/ml.js +86 -75
- data/vendor/assets/javascripts/moment/mn.js +100 -89
- data/vendor/assets/javascripts/moment/mr.js +203 -192
- data/vendor/assets/javascripts/moment/ms-my.js +81 -70
- data/vendor/assets/javascripts/moment/ms.js +81 -70
- data/vendor/assets/javascripts/moment/mt.js +61 -50
- data/vendor/assets/javascripts/moment/my.js +93 -82
- data/vendor/assets/javascripts/moment/nb.js +65 -54
- data/vendor/assets/javascripts/moment/ne.js +125 -114
- data/vendor/assets/javascripts/moment/nl-be.js +103 -92
- data/vendor/assets/javascripts/moment/nl.js +105 -94
- data/vendor/assets/javascripts/moment/nn.js +65 -54
- data/vendor/assets/javascripts/moment/oc-lnc.js +85 -74
- data/vendor/assets/javascripts/moment/pa-in.js +126 -115
- data/vendor/assets/javascripts/moment/pl.js +137 -126
- data/vendor/assets/javascripts/moment/pt-br.js +62 -51
- data/vendor/assets/javascripts/moment/pt.js +67 -56
- data/vendor/assets/javascripts/moment/ro.js +77 -66
- data/vendor/assets/javascripts/moment/ru.js +197 -186
- data/vendor/assets/javascripts/moment/sd.js +86 -75
- data/vendor/assets/javascripts/moment/se.js +63 -52
- data/vendor/assets/javascripts/moment/si.js +74 -63
- data/vendor/assets/javascripts/moment/sk.js +145 -134
- data/vendor/assets/javascripts/moment/sl.js +171 -160
- data/vendor/assets/javascripts/moment/sq.js +69 -58
- data/vendor/assets/javascripts/moment/sr-cyrl.js +117 -106
- data/vendor/assets/javascripts/moment/sr.js +119 -108
- data/vendor/assets/javascripts/moment/ss.js +88 -77
- data/vendor/assets/javascripts/moment/sv.js +74 -63
- data/vendor/assets/javascripts/moment/sw.js +60 -49
- data/vendor/assets/javascripts/moment/ta.js +134 -123
- data/vendor/assets/javascripts/moment/te.js +92 -81
- data/vendor/assets/javascripts/moment/tet.js +72 -61
- data/vendor/assets/javascripts/moment/tg.js +119 -108
- data/vendor/assets/javascripts/moment/th.js +70 -59
- data/vendor/assets/javascripts/moment/tk.js +96 -85
- data/vendor/assets/javascripts/moment/tl-ph.js +63 -52
- data/vendor/assets/javascripts/moment/tlh.js +123 -112
- data/vendor/assets/javascripts/moment/tr.js +110 -99
- data/vendor/assets/javascripts/moment/tzl.js +93 -82
- data/vendor/assets/javascripts/moment/tzm-latn.js +59 -48
- data/vendor/assets/javascripts/moment/tzm.js +59 -48
- data/vendor/assets/javascripts/moment/ug-cn.js +115 -104
- data/vendor/assets/javascripts/moment/uk.js +158 -147
- data/vendor/assets/javascripts/moment/ur.js +86 -75
- data/vendor/assets/javascripts/moment/uz-latn.js +59 -48
- data/vendor/assets/javascripts/moment/uz.js +57 -46
- data/vendor/assets/javascripts/moment/vi.js +84 -73
- data/vendor/assets/javascripts/moment/x-pseudo.js +77 -66
- data/vendor/assets/javascripts/moment/yo.js +59 -48
- data/vendor/assets/javascripts/moment/zh-cn.js +118 -107
- data/vendor/assets/javascripts/moment/zh-hk.js +104 -93
- data/vendor/assets/javascripts/moment/zh-mo.js +104 -93
- data/vendor/assets/javascripts/moment/zh-tw.js +104 -93
- data/vendor/assets/javascripts/moment.js +4961 -4953
- metadata +30 -2
@@ -2,101 +2,112 @@
|
|
2
2
|
//! locale : Cambodian [km]
|
3
3
|
//! author : Kruy Vanna : https://github.com/kruyvanna
|
4
4
|
|
5
|
-
|
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';
|
6
11
|
|
7
|
-
|
8
|
-
1: '១',
|
9
|
-
2: '២',
|
10
|
-
3: '៣',
|
11
|
-
4: '៤',
|
12
|
-
5: '៥',
|
13
|
-
6: '៦',
|
14
|
-
7: '៧',
|
15
|
-
8: '៨',
|
16
|
-
9: '៩',
|
17
|
-
0: '០',
|
18
|
-
},
|
19
|
-
numberMap = {
|
20
|
-
'១': '1',
|
21
|
-
'២': '2',
|
22
|
-
'៣': '3',
|
23
|
-
'៤': '4',
|
24
|
-
'៥': '5',
|
25
|
-
'៦': '6',
|
26
|
-
'៧': '7',
|
27
|
-
'៨': '8',
|
28
|
-
'៩': '9',
|
29
|
-
'០': '0',
|
30
|
-
};
|
12
|
+
//! moment.js locale configuration
|
31
13
|
|
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
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
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
|
+
};
|
38
|
+
|
39
|
+
var km = moment.defineLocale('km', {
|
40
|
+
months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
|
41
|
+
'_'
|
42
|
+
),
|
43
|
+
monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
|
44
|
+
'_'
|
45
|
+
),
|
46
|
+
weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
|
47
|
+
weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
|
48
|
+
weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
|
49
|
+
weekdaysParseExact: true,
|
50
|
+
longDateFormat: {
|
51
|
+
LT: 'HH:mm',
|
52
|
+
LTS: 'HH:mm:ss',
|
53
|
+
L: 'DD/MM/YYYY',
|
54
|
+
LL: 'D MMMM YYYY',
|
55
|
+
LLL: 'D MMMM YYYY HH:mm',
|
56
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
57
|
+
},
|
58
|
+
meridiemParse: /ព្រឹក|ល្ងាច/,
|
59
|
+
isPM: function (input) {
|
60
|
+
return input === 'ល្ងាច';
|
61
|
+
},
|
62
|
+
meridiem: function (hour, minute, isLower) {
|
63
|
+
if (hour < 12) {
|
64
|
+
return 'ព្រឹក';
|
65
|
+
} else {
|
66
|
+
return 'ល្ងាច';
|
67
|
+
}
|
68
|
+
},
|
69
|
+
calendar: {
|
70
|
+
sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
|
71
|
+
nextDay: '[ស្អែក ម៉ោង] LT',
|
72
|
+
nextWeek: 'dddd [ម៉ោង] LT',
|
73
|
+
lastDay: '[ម្សិលមិញ ម៉ោង] LT',
|
74
|
+
lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
|
75
|
+
sameElse: 'L',
|
76
|
+
},
|
77
|
+
relativeTime: {
|
78
|
+
future: '%sទៀត',
|
79
|
+
past: '%sមុន',
|
80
|
+
s: 'ប៉ុន្មានវិនាទី',
|
81
|
+
ss: '%d វិនាទី',
|
82
|
+
m: 'មួយនាទី',
|
83
|
+
mm: '%d នាទី',
|
84
|
+
h: 'មួយម៉ោង',
|
85
|
+
hh: '%d ម៉ោង',
|
86
|
+
d: 'មួយថ្ងៃ',
|
87
|
+
dd: '%d ថ្ងៃ',
|
88
|
+
M: 'មួយខែ',
|
89
|
+
MM: '%d ខែ',
|
90
|
+
y: 'មួយឆ្នាំ',
|
91
|
+
yy: '%d ឆ្នាំ',
|
92
|
+
},
|
93
|
+
dayOfMonthOrdinalParse: /ទី\d{1,2}/,
|
94
|
+
ordinal: 'ទី%d',
|
95
|
+
preparse: function (string) {
|
96
|
+
return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {
|
97
|
+
return numberMap[match];
|
98
|
+
});
|
99
|
+
},
|
100
|
+
postformat: function (string) {
|
101
|
+
return string.replace(/\d/g, function (match) {
|
102
|
+
return symbolMap[match];
|
103
|
+
});
|
104
|
+
},
|
105
|
+
week: {
|
106
|
+
dow: 1, // Monday is the first day of the week.
|
107
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
108
|
+
},
|
109
|
+
});
|
110
|
+
|
111
|
+
return km;
|
112
|
+
|
113
|
+
})));
|
@@ -2,122 +2,133 @@
|
|
2
2
|
//! locale : Kannada [kn]
|
3
3
|
//! author : Rajeev Naik : https://github.com/rajeevnaikte
|
4
4
|
|
5
|
-
|
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';
|
6
11
|
|
7
|
-
|
8
|
-
1: '೧',
|
9
|
-
2: '೨',
|
10
|
-
3: '೩',
|
11
|
-
4: '೪',
|
12
|
-
5: '೫',
|
13
|
-
6: '೬',
|
14
|
-
7: '೭',
|
15
|
-
8: '೮',
|
16
|
-
9: '೯',
|
17
|
-
0: '೦',
|
18
|
-
},
|
19
|
-
numberMap = {
|
20
|
-
'೧': '1',
|
21
|
-
'೨': '2',
|
22
|
-
'೩': '3',
|
23
|
-
'೪': '4',
|
24
|
-
'೫': '5',
|
25
|
-
'೬': '6',
|
26
|
-
'೭': '7',
|
27
|
-
'೮': '8',
|
28
|
-
'೯': '9',
|
29
|
-
'೦': '0',
|
30
|
-
};
|
12
|
+
//! moment.js locale configuration
|
31
13
|
|
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
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
}
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
return
|
109
|
-
|
110
|
-
|
111
|
-
}
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
})
|
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
|
+
};
|
38
|
+
|
39
|
+
var kn = moment.defineLocale('kn', {
|
40
|
+
months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split(
|
41
|
+
'_'
|
42
|
+
),
|
43
|
+
monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split(
|
44
|
+
'_'
|
45
|
+
),
|
46
|
+
monthsParseExact: true,
|
47
|
+
weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split(
|
48
|
+
'_'
|
49
|
+
),
|
50
|
+
weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),
|
51
|
+
weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),
|
52
|
+
longDateFormat: {
|
53
|
+
LT: 'A h:mm',
|
54
|
+
LTS: 'A h:mm:ss',
|
55
|
+
L: 'DD/MM/YYYY',
|
56
|
+
LL: 'D MMMM YYYY',
|
57
|
+
LLL: 'D MMMM YYYY, A h:mm',
|
58
|
+
LLLL: 'dddd, D MMMM YYYY, A h:mm',
|
59
|
+
},
|
60
|
+
calendar: {
|
61
|
+
sameDay: '[ಇಂದು] LT',
|
62
|
+
nextDay: '[ನಾಳೆ] LT',
|
63
|
+
nextWeek: 'dddd, LT',
|
64
|
+
lastDay: '[ನಿನ್ನೆ] LT',
|
65
|
+
lastWeek: '[ಕೊನೆಯ] dddd, LT',
|
66
|
+
sameElse: 'L',
|
67
|
+
},
|
68
|
+
relativeTime: {
|
69
|
+
future: '%s ನಂತರ',
|
70
|
+
past: '%s ಹಿಂದೆ',
|
71
|
+
s: 'ಕೆಲವು ಕ್ಷಣಗಳು',
|
72
|
+
ss: '%d ಸೆಕೆಂಡುಗಳು',
|
73
|
+
m: 'ಒಂದು ನಿಮಿಷ',
|
74
|
+
mm: '%d ನಿಮಿಷ',
|
75
|
+
h: 'ಒಂದು ಗಂಟೆ',
|
76
|
+
hh: '%d ಗಂಟೆ',
|
77
|
+
d: 'ಒಂದು ದಿನ',
|
78
|
+
dd: '%d ದಿನ',
|
79
|
+
M: 'ಒಂದು ತಿಂಗಳು',
|
80
|
+
MM: '%d ತಿಂಗಳು',
|
81
|
+
y: 'ಒಂದು ವರ್ಷ',
|
82
|
+
yy: '%d ವರ್ಷ',
|
83
|
+
},
|
84
|
+
preparse: function (string) {
|
85
|
+
return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {
|
86
|
+
return numberMap[match];
|
87
|
+
});
|
88
|
+
},
|
89
|
+
postformat: function (string) {
|
90
|
+
return string.replace(/\d/g, function (match) {
|
91
|
+
return symbolMap[match];
|
92
|
+
});
|
93
|
+
},
|
94
|
+
meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,
|
95
|
+
meridiemHour: function (hour, meridiem) {
|
96
|
+
if (hour === 12) {
|
97
|
+
hour = 0;
|
98
|
+
}
|
99
|
+
if (meridiem === 'ರಾತ್ರಿ') {
|
100
|
+
return hour < 4 ? hour : hour + 12;
|
101
|
+
} else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {
|
102
|
+
return hour;
|
103
|
+
} else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {
|
104
|
+
return hour >= 10 ? hour : hour + 12;
|
105
|
+
} else if (meridiem === 'ಸಂಜೆ') {
|
106
|
+
return hour + 12;
|
107
|
+
}
|
108
|
+
},
|
109
|
+
meridiem: function (hour, minute, isLower) {
|
110
|
+
if (hour < 4) {
|
111
|
+
return 'ರಾತ್ರಿ';
|
112
|
+
} else if (hour < 10) {
|
113
|
+
return 'ಬೆಳಿಗ್ಗೆ';
|
114
|
+
} else if (hour < 17) {
|
115
|
+
return 'ಮಧ್ಯಾಹ್ನ';
|
116
|
+
} else if (hour < 20) {
|
117
|
+
return 'ಸಂಜೆ';
|
118
|
+
} else {
|
119
|
+
return 'ರಾತ್ರಿ';
|
120
|
+
}
|
121
|
+
},
|
122
|
+
dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/,
|
123
|
+
ordinal: function (number) {
|
124
|
+
return number + 'ನೇ';
|
125
|
+
},
|
126
|
+
week: {
|
127
|
+
dow: 0, // Sunday is the first day of the week.
|
128
|
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
129
|
+
},
|
130
|
+
});
|
131
|
+
|
132
|
+
return kn;
|
133
|
+
|
134
|
+
})));
|
@@ -3,73 +3,84 @@
|
|
3
3
|
//! author : Kyungwook, Park : https://github.com/kyungw00k
|
4
4
|
//! author : Jeeeyul Lee <jeeeyul@gmail.com>
|
5
5
|
|
6
|
-
|
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';
|
7
12
|
|
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
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
13
|
+
//! moment.js locale configuration
|
14
|
+
|
15
|
+
var ko = moment.defineLocale('ko', {
|
16
|
+
months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
|
17
|
+
monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split(
|
18
|
+
'_'
|
19
|
+
),
|
20
|
+
weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
|
21
|
+
weekdaysShort: '일_월_화_수_목_금_토'.split('_'),
|
22
|
+
weekdaysMin: '일_월_화_수_목_금_토'.split('_'),
|
23
|
+
longDateFormat: {
|
24
|
+
LT: 'A h:mm',
|
25
|
+
LTS: 'A h:mm:ss',
|
26
|
+
L: 'YYYY.MM.DD.',
|
27
|
+
LL: 'YYYY년 MMMM D일',
|
28
|
+
LLL: 'YYYY년 MMMM D일 A h:mm',
|
29
|
+
LLLL: 'YYYY년 MMMM D일 dddd A h:mm',
|
30
|
+
l: 'YYYY.MM.DD.',
|
31
|
+
ll: 'YYYY년 MMMM D일',
|
32
|
+
lll: 'YYYY년 MMMM D일 A h:mm',
|
33
|
+
llll: 'YYYY년 MMMM D일 dddd A h:mm',
|
34
|
+
},
|
35
|
+
calendar: {
|
36
|
+
sameDay: '오늘 LT',
|
37
|
+
nextDay: '내일 LT',
|
38
|
+
nextWeek: 'dddd LT',
|
39
|
+
lastDay: '어제 LT',
|
40
|
+
lastWeek: '지난주 dddd LT',
|
41
|
+
sameElse: 'L',
|
42
|
+
},
|
43
|
+
relativeTime: {
|
44
|
+
future: '%s 후',
|
45
|
+
past: '%s 전',
|
46
|
+
s: '몇 초',
|
47
|
+
ss: '%d초',
|
48
|
+
m: '1분',
|
49
|
+
mm: '%d분',
|
50
|
+
h: '한 시간',
|
51
|
+
hh: '%d시간',
|
52
|
+
d: '하루',
|
53
|
+
dd: '%d일',
|
54
|
+
M: '한 달',
|
55
|
+
MM: '%d달',
|
56
|
+
y: '일 년',
|
57
|
+
yy: '%d년',
|
58
|
+
},
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
|
60
|
+
ordinal: function (number, period) {
|
61
|
+
switch (period) {
|
62
|
+
case 'd':
|
63
|
+
case 'D':
|
64
|
+
case 'DDD':
|
65
|
+
return number + '일';
|
66
|
+
case 'M':
|
67
|
+
return number + '월';
|
68
|
+
case 'w':
|
69
|
+
case 'W':
|
70
|
+
return number + '주';
|
71
|
+
default:
|
72
|
+
return number;
|
73
|
+
}
|
74
|
+
},
|
75
|
+
meridiemParse: /오전|오후/,
|
76
|
+
isPM: function (token) {
|
77
|
+
return token === '오후';
|
78
|
+
},
|
79
|
+
meridiem: function (hour, minute, isUpper) {
|
80
|
+
return hour < 12 ? '오전' : '오후';
|
81
|
+
},
|
82
|
+
});
|
83
|
+
|
84
|
+
return ko;
|
85
|
+
|
86
|
+
})));
|