momentjs-rails 2.8.1 → 2.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/news.md +3 -0
- data/test/integration/navigation_test.rb +1 -1
- data/vendor/assets/javascripts/moment.js +29 -22
- data/vendor/assets/javascripts/moment/af.js +23 -23
- data/vendor/assets/javascripts/moment/ar-ma.js +24 -24
- data/vendor/assets/javascripts/moment/ar-sa.js +26 -26
- data/vendor/assets/javascripts/moment/ar.js +26 -26
- data/vendor/assets/javascripts/moment/az.js +46 -46
- data/vendor/assets/javascripts/moment/be.js +17 -17
- data/vendor/assets/javascripts/moment/bg.js +23 -23
- data/vendor/assets/javascripts/moment/bn.js +28 -28
- data/vendor/assets/javascripts/moment/bo.js +28 -28
- data/vendor/assets/javascripts/moment/br.js +22 -22
- data/vendor/assets/javascripts/moment/bs.js +17 -17
- data/vendor/assets/javascripts/moment/ca.js +23 -23
- data/vendor/assets/javascripts/moment/cs.js +15 -15
- data/vendor/assets/javascripts/moment/cv.js +23 -23
- data/vendor/assets/javascripts/moment/cy.js +24 -24
- data/vendor/assets/javascripts/moment/da.js +23 -23
- data/vendor/assets/javascripts/moment/de-at.js +17 -17
- data/vendor/assets/javascripts/moment/de.js +17 -17
- data/vendor/assets/javascripts/moment/el.js +30 -26
- data/vendor/assets/javascripts/moment/en-au.js +23 -23
- data/vendor/assets/javascripts/moment/en-ca.js +23 -23
- data/vendor/assets/javascripts/moment/en-gb.js +23 -23
- data/vendor/assets/javascripts/moment/eo.js +24 -24
- data/vendor/assets/javascripts/moment/es.js +24 -24
- data/vendor/assets/javascripts/moment/et.js +12 -12
- data/vendor/assets/javascripts/moment/eu.js +27 -27
- data/vendor/assets/javascripts/moment/fa.js +3 -3
- data/vendor/assets/javascripts/moment/fi.js +19 -19
- data/vendor/assets/javascripts/moment/fo.js +23 -23
- data/vendor/assets/javascripts/moment/fr-ca.js +24 -24
- data/vendor/assets/javascripts/moment/fr.js +24 -24
- data/vendor/assets/javascripts/moment/gl.js +25 -25
- data/vendor/assets/javascripts/moment/he.js +31 -31
- data/vendor/assets/javascripts/moment/hi.js +28 -28
- data/vendor/assets/javascripts/moment/hr.js +17 -17
- data/vendor/assets/javascripts/moment/hu.js +12 -12
- data/vendor/assets/javascripts/moment/hy-am.js +24 -24
- data/vendor/assets/javascripts/moment/id.js +23 -23
- data/vendor/assets/javascripts/moment/is.js +14 -14
- data/vendor/assets/javascripts/moment/it.js +23 -23
- data/vendor/assets/javascripts/moment/ja.js +25 -25
- data/vendor/assets/javascripts/moment/ka.js +26 -26
- data/vendor/assets/javascripts/moment/km.js +23 -23
- data/vendor/assets/javascripts/moment/ko.js +25 -25
- data/vendor/assets/javascripts/moment/lb.js +28 -28
- data/vendor/assets/javascripts/moment/lt.js +38 -38
- data/vendor/assets/javascripts/moment/lv.js +18 -18
- data/vendor/assets/javascripts/moment/mk.js +23 -23
- data/vendor/assets/javascripts/moment/ml.js +28 -28
- data/vendor/assets/javascripts/moment/mr.js +28 -28
- data/vendor/assets/javascripts/moment/ms-my.js +23 -23
- data/vendor/assets/javascripts/moment/my.js +23 -23
- data/vendor/assets/javascripts/moment/nb.js +23 -23
- data/vendor/assets/javascripts/moment/ne.js +29 -29
- data/vendor/assets/javascripts/moment/nl.js +24 -24
- data/vendor/assets/javascripts/moment/nn.js +23 -23
- data/vendor/assets/javascripts/moment/pl.js +18 -18
- data/vendor/assets/javascripts/moment/pt-br.js +23 -23
- data/vendor/assets/javascripts/moment/pt.js +23 -23
- data/vendor/assets/javascripts/moment/ro.js +19 -19
- data/vendor/assets/javascripts/moment/ru.js +18 -18
- data/vendor/assets/javascripts/moment/sk.js +15 -15
- data/vendor/assets/javascripts/moment/sl.js +17 -17
- data/vendor/assets/javascripts/moment/sq.js +23 -23
- data/vendor/assets/javascripts/moment/sr-cyrl.js +11 -11
- data/vendor/assets/javascripts/moment/sr.js +11 -11
- data/vendor/assets/javascripts/moment/sv.js +23 -23
- data/vendor/assets/javascripts/moment/ta.js +29 -29
- data/vendor/assets/javascripts/moment/th.js +25 -25
- data/vendor/assets/javascripts/moment/tl-ph.js +24 -24
- data/vendor/assets/javascripts/moment/tr.js +42 -42
- data/vendor/assets/javascripts/moment/tzm-latn.js +24 -24
- data/vendor/assets/javascripts/moment/tzm.js +24 -24
- data/vendor/assets/javascripts/moment/uk.js +19 -19
- data/vendor/assets/javascripts/moment/uz.js +24 -24
- data/vendor/assets/javascripts/moment/vi.js +28 -28
- data/vendor/assets/javascripts/moment/zh-cn.js +48 -48
- data/vendor/assets/javascripts/moment/zh-tw.js +41 -41
- metadata +2 -2
@@ -12,17 +12,17 @@
|
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
return moment.defineLocale('ml', {
|
15
|
-
months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split(
|
16
|
-
monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split(
|
17
|
-
weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split(
|
18
|
-
weekdaysShort : 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split(
|
19
|
-
weekdaysMin : 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split(
|
15
|
+
months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'),
|
16
|
+
monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'),
|
17
|
+
weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'),
|
18
|
+
weekdaysShort : 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
|
19
|
+
weekdaysMin : 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
|
20
20
|
longDateFormat : {
|
21
|
-
LT :
|
22
|
-
L :
|
23
|
-
LL :
|
24
|
-
LLL :
|
25
|
-
LLLL :
|
21
|
+
LT : 'A h:mm -നു',
|
22
|
+
L : 'DD/MM/YYYY',
|
23
|
+
LL : 'D MMMM YYYY',
|
24
|
+
LLL : 'D MMMM YYYY, LT',
|
25
|
+
LLLL : 'dddd, D MMMM YYYY, LT'
|
26
26
|
},
|
27
27
|
calendar : {
|
28
28
|
sameDay : '[ഇന്ന്] LT',
|
@@ -33,31 +33,31 @@
|
|
33
33
|
sameElse : 'L'
|
34
34
|
},
|
35
35
|
relativeTime : {
|
36
|
-
future :
|
37
|
-
past :
|
38
|
-
s :
|
39
|
-
m :
|
40
|
-
mm :
|
41
|
-
h :
|
42
|
-
hh :
|
43
|
-
d :
|
44
|
-
dd :
|
45
|
-
M :
|
46
|
-
MM :
|
47
|
-
y :
|
48
|
-
yy :
|
36
|
+
future : '%s കഴിഞ്ഞ്',
|
37
|
+
past : '%s മുൻപ്',
|
38
|
+
s : 'അൽപ നിമിഷങ്ങൾ',
|
39
|
+
m : 'ഒരു മിനിറ്റ്',
|
40
|
+
mm : '%d മിനിറ്റ്',
|
41
|
+
h : 'ഒരു മണിക്കൂർ',
|
42
|
+
hh : '%d മണിക്കൂർ',
|
43
|
+
d : 'ഒരു ദിവസം',
|
44
|
+
dd : '%d ദിവസം',
|
45
|
+
M : 'ഒരു മാസം',
|
46
|
+
MM : '%d മാസം',
|
47
|
+
y : 'ഒരു വർഷം',
|
48
|
+
yy : '%d വർഷം'
|
49
49
|
},
|
50
50
|
meridiem : function (hour, minute, isLower) {
|
51
51
|
if (hour < 4) {
|
52
|
-
return
|
52
|
+
return 'രാത്രി';
|
53
53
|
} else if (hour < 12) {
|
54
|
-
return
|
54
|
+
return 'രാവിലെ';
|
55
55
|
} else if (hour < 17) {
|
56
|
-
return
|
56
|
+
return 'ഉച്ച കഴിഞ്ഞ്';
|
57
57
|
} else if (hour < 20) {
|
58
|
-
return
|
58
|
+
return 'വൈകുന്നേരം';
|
59
59
|
} else {
|
60
|
-
return
|
60
|
+
return 'രാത്രി';
|
61
61
|
}
|
62
62
|
}
|
63
63
|
});
|
@@ -37,17 +37,17 @@
|
|
37
37
|
};
|
38
38
|
|
39
39
|
return moment.defineLocale('mr', {
|
40
|
-
months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(
|
41
|
-
monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(
|
42
|
-
weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split(
|
43
|
-
weekdaysShort : 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split(
|
44
|
-
weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split(
|
40
|
+
months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),
|
41
|
+
monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),
|
42
|
+
weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
|
43
|
+
weekdaysShort : 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
|
44
|
+
weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),
|
45
45
|
longDateFormat : {
|
46
|
-
LT :
|
47
|
-
L :
|
48
|
-
LL :
|
49
|
-
LLL :
|
50
|
-
LLLL :
|
46
|
+
LT : 'A h:mm वाजता',
|
47
|
+
L : 'DD/MM/YYYY',
|
48
|
+
LL : 'D MMMM YYYY',
|
49
|
+
LLL : 'D MMMM YYYY, LT',
|
50
|
+
LLLL : 'dddd, D MMMM YYYY, LT'
|
51
51
|
},
|
52
52
|
calendar : {
|
53
53
|
sameDay : '[आज] LT',
|
@@ -58,19 +58,19 @@
|
|
58
58
|
sameElse : 'L'
|
59
59
|
},
|
60
60
|
relativeTime : {
|
61
|
-
future :
|
62
|
-
past :
|
63
|
-
s :
|
64
|
-
m:
|
65
|
-
mm:
|
66
|
-
h :
|
67
|
-
hh :
|
68
|
-
d :
|
69
|
-
dd :
|
70
|
-
M :
|
71
|
-
MM :
|
72
|
-
y :
|
73
|
-
yy :
|
61
|
+
future : '%s नंतर',
|
62
|
+
past : '%s पूर्वी',
|
63
|
+
s : 'सेकंद',
|
64
|
+
m: 'एक मिनिट',
|
65
|
+
mm: '%d मिनिटे',
|
66
|
+
h : 'एक तास',
|
67
|
+
hh : '%d तास',
|
68
|
+
d : 'एक दिवस',
|
69
|
+
dd : '%d दिवस',
|
70
|
+
M : 'एक महिना',
|
71
|
+
MM : '%d महिने',
|
72
|
+
y : 'एक वर्ष',
|
73
|
+
yy : '%d वर्षे'
|
74
74
|
},
|
75
75
|
preparse: function (string) {
|
76
76
|
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
@@ -85,15 +85,15 @@
|
|
85
85
|
meridiem: function (hour, minute, isLower)
|
86
86
|
{
|
87
87
|
if (hour < 4) {
|
88
|
-
return
|
88
|
+
return 'रात्री';
|
89
89
|
} else if (hour < 10) {
|
90
|
-
return
|
90
|
+
return 'सकाळी';
|
91
91
|
} else if (hour < 17) {
|
92
|
-
return
|
92
|
+
return 'दुपारी';
|
93
93
|
} else if (hour < 20) {
|
94
|
-
return
|
94
|
+
return 'सायंकाळी';
|
95
95
|
} else {
|
96
|
-
return
|
96
|
+
return 'रात्री';
|
97
97
|
}
|
98
98
|
},
|
99
99
|
week : {
|
@@ -12,17 +12,17 @@
|
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
return moment.defineLocale('ms-my', {
|
15
|
-
months :
|
16
|
-
monthsShort :
|
17
|
-
weekdays :
|
18
|
-
weekdaysShort :
|
19
|
-
weekdaysMin :
|
15
|
+
months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
|
16
|
+
monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
|
17
|
+
weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
|
18
|
+
weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
|
19
|
+
weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
|
20
20
|
longDateFormat : {
|
21
|
-
LT :
|
22
|
-
L :
|
23
|
-
LL :
|
24
|
-
LLL :
|
25
|
-
LLLL :
|
21
|
+
LT : 'HH.mm',
|
22
|
+
L : 'DD/MM/YYYY',
|
23
|
+
LL : 'D MMMM YYYY',
|
24
|
+
LLL : 'D MMMM YYYY [pukul] LT',
|
25
|
+
LLLL : 'dddd, D MMMM YYYY [pukul] LT'
|
26
26
|
},
|
27
27
|
meridiem : function (hours, minutes, isLower) {
|
28
28
|
if (hours < 11) {
|
@@ -44,19 +44,19 @@
|
|
44
44
|
sameElse : 'L'
|
45
45
|
},
|
46
46
|
relativeTime : {
|
47
|
-
future :
|
48
|
-
past :
|
49
|
-
s :
|
50
|
-
m :
|
51
|
-
mm :
|
52
|
-
h :
|
53
|
-
hh :
|
54
|
-
d :
|
55
|
-
dd :
|
56
|
-
M :
|
57
|
-
MM :
|
58
|
-
y :
|
59
|
-
yy :
|
47
|
+
future : 'dalam %s',
|
48
|
+
past : '%s yang lepas',
|
49
|
+
s : 'beberapa saat',
|
50
|
+
m : 'seminit',
|
51
|
+
mm : '%d minit',
|
52
|
+
h : 'sejam',
|
53
|
+
hh : '%d jam',
|
54
|
+
d : 'sehari',
|
55
|
+
dd : '%d hari',
|
56
|
+
M : 'sebulan',
|
57
|
+
MM : '%d bulan',
|
58
|
+
y : 'setahun',
|
59
|
+
yy : '%d tahun'
|
60
60
|
},
|
61
61
|
week : {
|
62
62
|
dow : 1, // Monday is the first day of the week.
|
@@ -35,17 +35,17 @@
|
|
35
35
|
'၀': '0'
|
36
36
|
};
|
37
37
|
return moment.defineLocale('my', {
|
38
|
-
months:
|
39
|
-
monthsShort:
|
40
|
-
weekdays:
|
41
|
-
weekdaysShort:
|
42
|
-
weekdaysMin:
|
38
|
+
months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'),
|
39
|
+
monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
|
40
|
+
weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'),
|
41
|
+
weekdaysShort: 'နွေ_လာ_င်္ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
|
42
|
+
weekdaysMin: 'နွေ_လာ_င်္ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
|
43
43
|
longDateFormat: {
|
44
|
-
LT:
|
45
|
-
L:
|
46
|
-
LL:
|
47
|
-
LLL:
|
48
|
-
LLLL:
|
44
|
+
LT: 'HH:mm',
|
45
|
+
L: 'DD/MM/YYYY',
|
46
|
+
LL: 'D MMMM YYYY',
|
47
|
+
LLL: 'D MMMM YYYY LT',
|
48
|
+
LLLL: 'dddd D MMMM YYYY LT'
|
49
49
|
},
|
50
50
|
calendar: {
|
51
51
|
sameDay: '[ယနေ.] LT [မှာ]',
|
@@ -56,19 +56,19 @@
|
|
56
56
|
sameElse: 'L'
|
57
57
|
},
|
58
58
|
relativeTime: {
|
59
|
-
future:
|
60
|
-
past:
|
61
|
-
s:
|
62
|
-
m:
|
63
|
-
mm:
|
64
|
-
h:
|
65
|
-
hh:
|
66
|
-
d:
|
67
|
-
dd:
|
68
|
-
M:
|
69
|
-
MM:
|
70
|
-
y:
|
71
|
-
yy:
|
59
|
+
future: 'လာမည့် %s မှာ',
|
60
|
+
past: 'လွန်ခဲ့သော %s က',
|
61
|
+
s: 'စက္ကန်.အနည်းငယ်',
|
62
|
+
m: 'တစ်မိနစ်',
|
63
|
+
mm: '%d မိနစ်',
|
64
|
+
h: 'တစ်နာရီ',
|
65
|
+
hh: '%d နာရီ',
|
66
|
+
d: 'တစ်ရက်',
|
67
|
+
dd: '%d ရက်',
|
68
|
+
M: 'တစ်လ',
|
69
|
+
MM: '%d လ',
|
70
|
+
y: 'တစ်နှစ်',
|
71
|
+
yy: '%d နှစ်'
|
72
72
|
},
|
73
73
|
preparse: function (string) {
|
74
74
|
return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
|
@@ -13,17 +13,17 @@
|
|
13
13
|
}
|
14
14
|
}(function (moment) {
|
15
15
|
return moment.defineLocale('nb', {
|
16
|
-
months :
|
17
|
-
monthsShort :
|
18
|
-
weekdays :
|
19
|
-
weekdaysShort :
|
20
|
-
weekdaysMin :
|
16
|
+
months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
|
17
|
+
monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
|
18
|
+
weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
|
19
|
+
weekdaysShort : 'søn_man_tirs_ons_tors_fre_lør'.split('_'),
|
20
|
+
weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
|
21
21
|
longDateFormat : {
|
22
|
-
LT :
|
23
|
-
L :
|
24
|
-
LL :
|
25
|
-
LLL :
|
26
|
-
LLLL :
|
22
|
+
LT : 'H.mm',
|
23
|
+
L : 'DD.MM.YYYY',
|
24
|
+
LL : 'D. MMMM YYYY',
|
25
|
+
LLL : 'D. MMMM YYYY [kl.] LT',
|
26
|
+
LLLL : 'dddd D. MMMM YYYY [kl.] LT'
|
27
27
|
},
|
28
28
|
calendar : {
|
29
29
|
sameDay: '[i dag kl.] LT',
|
@@ -34,19 +34,19 @@
|
|
34
34
|
sameElse: 'L'
|
35
35
|
},
|
36
36
|
relativeTime : {
|
37
|
-
future :
|
38
|
-
past :
|
39
|
-
s :
|
40
|
-
m :
|
41
|
-
mm :
|
42
|
-
h :
|
43
|
-
hh :
|
44
|
-
d :
|
45
|
-
dd :
|
46
|
-
M :
|
47
|
-
MM :
|
48
|
-
y :
|
49
|
-
yy :
|
37
|
+
future : 'om %s',
|
38
|
+
past : 'for %s siden',
|
39
|
+
s : 'noen sekunder',
|
40
|
+
m : 'ett minutt',
|
41
|
+
mm : '%d minutter',
|
42
|
+
h : 'en time',
|
43
|
+
hh : '%d timer',
|
44
|
+
d : 'en dag',
|
45
|
+
dd : '%d dager',
|
46
|
+
M : 'en måned',
|
47
|
+
MM : '%d måneder',
|
48
|
+
y : 'ett år',
|
49
|
+
yy : '%d år'
|
50
50
|
},
|
51
51
|
ordinal : '%d.',
|
52
52
|
week : {
|
@@ -37,17 +37,17 @@
|
|
37
37
|
};
|
38
38
|
|
39
39
|
return moment.defineLocale('ne', {
|
40
|
-
months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split(
|
41
|
-
monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split(
|
42
|
-
weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split(
|
43
|
-
weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split(
|
44
|
-
weekdaysMin : 'आइ._सो._मङ्_बु._बि._शु._श.'.split(
|
40
|
+
months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),
|
41
|
+
monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),
|
42
|
+
weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),
|
43
|
+
weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
|
44
|
+
weekdaysMin : 'आइ._सो._मङ्_बु._बि._शु._श.'.split('_'),
|
45
45
|
longDateFormat : {
|
46
|
-
LT :
|
47
|
-
L :
|
48
|
-
LL :
|
49
|
-
LLL :
|
50
|
-
LLLL :
|
46
|
+
LT : 'Aको h:mm बजे',
|
47
|
+
L : 'DD/MM/YYYY',
|
48
|
+
LL : 'D MMMM YYYY',
|
49
|
+
LLL : 'D MMMM YYYY, LT',
|
50
|
+
LLLL : 'dddd, D MMMM YYYY, LT'
|
51
51
|
},
|
52
52
|
preparse: function (string) {
|
53
53
|
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
@@ -61,17 +61,17 @@
|
|
61
61
|
},
|
62
62
|
meridiem : function (hour, minute, isLower) {
|
63
63
|
if (hour < 3) {
|
64
|
-
return
|
64
|
+
return 'राती';
|
65
65
|
} else if (hour < 10) {
|
66
|
-
return
|
66
|
+
return 'बिहान';
|
67
67
|
} else if (hour < 15) {
|
68
|
-
return
|
68
|
+
return 'दिउँसो';
|
69
69
|
} else if (hour < 18) {
|
70
|
-
return
|
70
|
+
return 'बेलुका';
|
71
71
|
} else if (hour < 20) {
|
72
|
-
return
|
72
|
+
return 'साँझ';
|
73
73
|
} else {
|
74
|
-
return
|
74
|
+
return 'राती';
|
75
75
|
}
|
76
76
|
},
|
77
77
|
calendar : {
|
@@ -83,19 +83,19 @@
|
|
83
83
|
sameElse : 'L'
|
84
84
|
},
|
85
85
|
relativeTime : {
|
86
|
-
future :
|
87
|
-
past :
|
88
|
-
s :
|
89
|
-
m :
|
90
|
-
mm :
|
91
|
-
h :
|
92
|
-
hh :
|
93
|
-
d :
|
94
|
-
dd :
|
95
|
-
M :
|
96
|
-
MM :
|
97
|
-
y :
|
98
|
-
yy :
|
86
|
+
future : '%sमा',
|
87
|
+
past : '%s अगाडी',
|
88
|
+
s : 'केही समय',
|
89
|
+
m : 'एक मिनेट',
|
90
|
+
mm : '%d मिनेट',
|
91
|
+
h : 'एक घण्टा',
|
92
|
+
hh : '%d घण्टा',
|
93
|
+
d : 'एक दिन',
|
94
|
+
dd : '%d दिन',
|
95
|
+
M : 'एक महिना',
|
96
|
+
MM : '%d महिना',
|
97
|
+
y : 'एक बर्ष',
|
98
|
+
yy : '%d बर्ष'
|
99
99
|
},
|
100
100
|
week : {
|
101
101
|
dow : 1, // Monday is the first day of the week.
|
@@ -11,11 +11,11 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
var monthsShortWithDots =
|
15
|
-
monthsShortWithoutDots =
|
14
|
+
var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
|
15
|
+
monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
|
16
16
|
|
17
17
|
return moment.defineLocale('nl', {
|
18
|
-
months :
|
18
|
+
months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
|
19
19
|
monthsShort : function (m, format) {
|
20
20
|
if (/-MMM-/.test(format)) {
|
21
21
|
return monthsShortWithoutDots[m.month()];
|
@@ -23,15 +23,15 @@
|
|
23
23
|
return monthsShortWithDots[m.month()];
|
24
24
|
}
|
25
25
|
},
|
26
|
-
weekdays :
|
27
|
-
weekdaysShort :
|
28
|
-
weekdaysMin :
|
26
|
+
weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
|
27
|
+
weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
|
28
|
+
weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'),
|
29
29
|
longDateFormat : {
|
30
|
-
LT :
|
31
|
-
L :
|
32
|
-
LL :
|
33
|
-
LLL :
|
34
|
-
LLLL :
|
30
|
+
LT : 'HH:mm',
|
31
|
+
L : 'DD-MM-YYYY',
|
32
|
+
LL : 'D MMMM YYYY',
|
33
|
+
LLL : 'D MMMM YYYY LT',
|
34
|
+
LLLL : 'dddd D MMMM YYYY LT'
|
35
35
|
},
|
36
36
|
calendar : {
|
37
37
|
sameDay: '[vandaag om] LT',
|
@@ -42,19 +42,19 @@
|
|
42
42
|
sameElse: 'L'
|
43
43
|
},
|
44
44
|
relativeTime : {
|
45
|
-
future :
|
46
|
-
past :
|
47
|
-
s :
|
48
|
-
m :
|
49
|
-
mm :
|
50
|
-
h :
|
51
|
-
hh :
|
52
|
-
d :
|
53
|
-
dd :
|
54
|
-
M :
|
55
|
-
MM :
|
56
|
-
y :
|
57
|
-
yy :
|
45
|
+
future : 'over %s',
|
46
|
+
past : '%s geleden',
|
47
|
+
s : 'een paar seconden',
|
48
|
+
m : 'één minuut',
|
49
|
+
mm : '%d minuten',
|
50
|
+
h : 'één uur',
|
51
|
+
hh : '%d uur',
|
52
|
+
d : 'één dag',
|
53
|
+
dd : '%d dagen',
|
54
|
+
M : 'één maand',
|
55
|
+
MM : '%d maanden',
|
56
|
+
y : 'één jaar',
|
57
|
+
yy : '%d jaar'
|
58
58
|
},
|
59
59
|
ordinal : function (number) {
|
60
60
|
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
|