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
@@ -3,133 +3,144 @@
|
|
3
3
|
//! author : mweimerskirch : https://github.com/mweimerskirch
|
4
4
|
//! author : David Raison : https://github.com/kwisatz
|
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
|
-
var number = string.substr(0, string.indexOf(' '));
|
20
|
-
if (eifelerRegelAppliesToNumber(number)) {
|
21
|
-
return 'a ' + string;
|
22
|
-
}
|
23
|
-
return 'an ' + string;
|
24
|
-
}
|
25
|
-
function processPastTime(string) {
|
26
|
-
var number = string.substr(0, string.indexOf(' '));
|
27
|
-
if (eifelerRegelAppliesToNumber(number)) {
|
28
|
-
return 'viru ' + string;
|
13
|
+
//! moment.js locale configuration
|
14
|
+
|
15
|
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
16
|
+
var format = {
|
17
|
+
m: ['eng Minutt', 'enger Minutt'],
|
18
|
+
h: ['eng Stonn', 'enger Stonn'],
|
19
|
+
d: ['een Dag', 'engem Dag'],
|
20
|
+
M: ['ee Mount', 'engem Mount'],
|
21
|
+
y: ['ee Joer', 'engem Joer'],
|
22
|
+
};
|
23
|
+
return withoutSuffix ? format[key][0] : format[key][1];
|
29
24
|
}
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
* @param number {integer}
|
37
|
-
* @returns {boolean}
|
38
|
-
*/
|
39
|
-
function eifelerRegelAppliesToNumber(number) {
|
40
|
-
number = parseInt(number, 10);
|
41
|
-
if (isNaN(number)) {
|
42
|
-
return false;
|
25
|
+
function processFutureTime(string) {
|
26
|
+
var number = string.substr(0, string.indexOf(' '));
|
27
|
+
if (eifelerRegelAppliesToNumber(number)) {
|
28
|
+
return 'a ' + string;
|
29
|
+
}
|
30
|
+
return 'an ' + string;
|
43
31
|
}
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
// Only 1 digit
|
49
|
-
if (4 <= number && number <= 7) {
|
50
|
-
return true;
|
32
|
+
function processPastTime(string) {
|
33
|
+
var number = string.substr(0, string.indexOf(' '));
|
34
|
+
if (eifelerRegelAppliesToNumber(number)) {
|
35
|
+
return 'viru ' + string;
|
51
36
|
}
|
52
|
-
return
|
53
|
-
}
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
37
|
+
return 'virun ' + string;
|
38
|
+
}
|
39
|
+
/**
|
40
|
+
* Returns true if the word before the given number loses the '-n' ending.
|
41
|
+
* e.g. 'an 10 Deeg' but 'a 5 Deeg'
|
42
|
+
*
|
43
|
+
* @param number {integer}
|
44
|
+
* @returns {boolean}
|
45
|
+
*/
|
46
|
+
function eifelerRegelAppliesToNumber(number) {
|
47
|
+
number = parseInt(number, 10);
|
48
|
+
if (isNaN(number)) {
|
49
|
+
return false;
|
59
50
|
}
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
51
|
+
if (number < 0) {
|
52
|
+
// Negative Number --> always true
|
53
|
+
return true;
|
54
|
+
} else if (number < 10) {
|
55
|
+
// Only 1 digit
|
56
|
+
if (4 <= number && number <= 7) {
|
57
|
+
return true;
|
58
|
+
}
|
59
|
+
return false;
|
60
|
+
} else if (number < 100) {
|
61
|
+
// 2 digits
|
62
|
+
var lastDigit = number % 10,
|
63
|
+
firstDigit = number / 10;
|
64
|
+
if (lastDigit === 0) {
|
65
|
+
return eifelerRegelAppliesToNumber(firstDigit);
|
66
|
+
}
|
67
|
+
return eifelerRegelAppliesToNumber(lastDigit);
|
68
|
+
} else if (number < 10000) {
|
69
|
+
// 3 or 4 digits --> recursively check first digit
|
70
|
+
while (number >= 10) {
|
71
|
+
number = number / 10;
|
72
|
+
}
|
73
|
+
return eifelerRegelAppliesToNumber(number);
|
74
|
+
} else {
|
75
|
+
// Anything larger than 4 digits: recursively check first n-3 digits
|
76
|
+
number = number / 1000;
|
77
|
+
return eifelerRegelAppliesToNumber(number);
|
65
78
|
}
|
66
|
-
return eifelerRegelAppliesToNumber(number);
|
67
|
-
} else {
|
68
|
-
// Anything larger than 4 digits: recursively check first n-3 digits
|
69
|
-
number = number / 1000;
|
70
|
-
return eifelerRegelAppliesToNumber(number);
|
71
79
|
}
|
72
|
-
}
|
73
80
|
|
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
|
-
|
109
|
-
|
110
|
-
|
81
|
+
var lb = moment.defineLocale('lb', {
|
82
|
+
months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split(
|
83
|
+
'_'
|
84
|
+
),
|
85
|
+
monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split(
|
86
|
+
'_'
|
87
|
+
),
|
88
|
+
monthsParseExact: true,
|
89
|
+
weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split(
|
90
|
+
'_'
|
91
|
+
),
|
92
|
+
weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
|
93
|
+
weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
|
94
|
+
weekdaysParseExact: true,
|
95
|
+
longDateFormat: {
|
96
|
+
LT: 'H:mm [Auer]',
|
97
|
+
LTS: 'H:mm:ss [Auer]',
|
98
|
+
L: 'DD.MM.YYYY',
|
99
|
+
LL: 'D. MMMM YYYY',
|
100
|
+
LLL: 'D. MMMM YYYY H:mm [Auer]',
|
101
|
+
LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]',
|
102
|
+
},
|
103
|
+
calendar: {
|
104
|
+
sameDay: '[Haut um] LT',
|
105
|
+
sameElse: 'L',
|
106
|
+
nextDay: '[Muer um] LT',
|
107
|
+
nextWeek: 'dddd [um] LT',
|
108
|
+
lastDay: '[Gëschter um] LT',
|
109
|
+
lastWeek: function () {
|
110
|
+
// Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
|
111
|
+
switch (this.day()) {
|
112
|
+
case 2:
|
113
|
+
case 4:
|
114
|
+
return '[Leschten] dddd [um] LT';
|
115
|
+
default:
|
116
|
+
return '[Leschte] dddd [um] LT';
|
117
|
+
}
|
118
|
+
},
|
119
|
+
},
|
120
|
+
relativeTime: {
|
121
|
+
future: processFutureTime,
|
122
|
+
past: processPastTime,
|
123
|
+
s: 'e puer Sekonnen',
|
124
|
+
ss: '%d Sekonnen',
|
125
|
+
m: processRelativeTime,
|
126
|
+
mm: '%d Minutten',
|
127
|
+
h: processRelativeTime,
|
128
|
+
hh: '%d Stonnen',
|
129
|
+
d: processRelativeTime,
|
130
|
+
dd: '%d Deeg',
|
131
|
+
M: processRelativeTime,
|
132
|
+
MM: '%d Méint',
|
133
|
+
y: processRelativeTime,
|
134
|
+
yy: '%d Joer',
|
111
135
|
},
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
dd: '%d Deeg',
|
124
|
-
M: processRelativeTime,
|
125
|
-
MM: '%d Méint',
|
126
|
-
y: processRelativeTime,
|
127
|
-
yy: '%d Joer',
|
128
|
-
},
|
129
|
-
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
130
|
-
ordinal: '%d.',
|
131
|
-
week: {
|
132
|
-
dow: 1, // Monday is the first day of the week.
|
133
|
-
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
134
|
-
},
|
135
|
-
});
|
136
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
137
|
+
ordinal: '%d.',
|
138
|
+
week: {
|
139
|
+
dow: 1, // Monday is the first day of the week.
|
140
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
141
|
+
},
|
142
|
+
});
|
143
|
+
|
144
|
+
return lb;
|
145
|
+
|
146
|
+
})));
|
@@ -2,64 +2,75 @@
|
|
2
2
|
//! locale : Lao [lo]
|
3
3
|
//! author : Ryan Hart : https://github.com/ryanhart2
|
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
|
-
|
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
|
-
|
12
|
+
//! moment.js locale configuration
|
13
|
+
|
14
|
+
var lo = moment.defineLocale('lo', {
|
15
|
+
months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
|
16
|
+
'_'
|
17
|
+
),
|
18
|
+
monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
|
19
|
+
'_'
|
20
|
+
),
|
21
|
+
weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
|
22
|
+
weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
|
23
|
+
weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
|
24
|
+
weekdaysParseExact: true,
|
25
|
+
longDateFormat: {
|
26
|
+
LT: 'HH:mm',
|
27
|
+
LTS: 'HH:mm:ss',
|
28
|
+
L: 'DD/MM/YYYY',
|
29
|
+
LL: 'D MMMM YYYY',
|
30
|
+
LLL: 'D MMMM YYYY HH:mm',
|
31
|
+
LLLL: 'ວັນdddd D MMMM YYYY HH:mm',
|
32
|
+
},
|
33
|
+
meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
|
34
|
+
isPM: function (input) {
|
35
|
+
return input === 'ຕອນແລງ';
|
36
|
+
},
|
37
|
+
meridiem: function (hour, minute, isLower) {
|
38
|
+
if (hour < 12) {
|
39
|
+
return 'ຕອນເຊົ້າ';
|
40
|
+
} else {
|
41
|
+
return 'ຕອນແລງ';
|
42
|
+
}
|
43
|
+
},
|
44
|
+
calendar: {
|
45
|
+
sameDay: '[ມື້ນີ້ເວລາ] LT',
|
46
|
+
nextDay: '[ມື້ອື່ນເວລາ] LT',
|
47
|
+
nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',
|
48
|
+
lastDay: '[ມື້ວານນີ້ເວລາ] LT',
|
49
|
+
lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
|
50
|
+
sameElse: 'L',
|
51
|
+
},
|
52
|
+
relativeTime: {
|
53
|
+
future: 'ອີກ %s',
|
54
|
+
past: '%sຜ່ານມາ',
|
55
|
+
s: 'ບໍ່ເທົ່າໃດວິນາທີ',
|
56
|
+
ss: '%d ວິນາທີ',
|
57
|
+
m: '1 ນາທີ',
|
58
|
+
mm: '%d ນາທີ',
|
59
|
+
h: '1 ຊົ່ວໂມງ',
|
60
|
+
hh: '%d ຊົ່ວໂມງ',
|
61
|
+
d: '1 ມື້',
|
62
|
+
dd: '%d ມື້',
|
63
|
+
M: '1 ເດືອນ',
|
64
|
+
MM: '%d ເດືອນ',
|
65
|
+
y: '1 ປີ',
|
66
|
+
yy: '%d ປີ',
|
67
|
+
},
|
68
|
+
dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/,
|
69
|
+
ordinal: function (number) {
|
70
|
+
return 'ທີ່' + number;
|
71
|
+
},
|
72
|
+
});
|
73
|
+
|
74
|
+
return lo;
|
75
|
+
|
76
|
+
})));
|