momentjs-rails 2.0.0.2 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/news.md +4 -0
- data/test/dummy/log/test.log +14 -0
- 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 -1
- data/vendor/assets/javascripts/moment.js +380 -118
- data/vendor/assets/javascripts/moment/ar-ma.js +1 -42
- data/vendor/assets/javascripts/moment/ar.js +2 -42
- data/vendor/assets/javascripts/moment/bg.js +1 -73
- data/vendor/assets/javascripts/moment/br.js +4 -0
- data/vendor/assets/javascripts/moment/ca.js +1 -53
- data/vendor/assets/javascripts/moment/cs.js +1 -142
- data/vendor/assets/javascripts/moment/cv.js +1 -47
- data/vendor/assets/javascripts/moment/da.js +1 -43
- data/vendor/assets/javascripts/moment/de.js +2 -43
- data/vendor/assets/javascripts/moment/el.js +4 -0
- data/vendor/assets/javascripts/moment/en-ca.js +1 -46
- data/vendor/assets/javascripts/moment/en-gb.js +1 -50
- data/vendor/assets/javascripts/moment/eo.js +1 -50
- data/vendor/assets/javascripts/moment/es.js +1 -53
- data/vendor/assets/javascripts/moment/et.js +1 -47
- data/vendor/assets/javascripts/moment/eu.js +1 -47
- data/vendor/assets/javascripts/moment/fa.js +4 -0
- data/vendor/assets/javascripts/moment/fi.js +1 -90
- data/vendor/assets/javascripts/moment/fr-ca.js +1 -41
- data/vendor/assets/javascripts/moment/fr.js +1 -45
- data/vendor/assets/javascripts/moment/gl.js +1 -53
- data/vendor/assets/javascripts/moment/he.js +1 -42
- data/vendor/assets/javascripts/moment/hi.js +4 -0
- data/vendor/assets/javascripts/moment/hu.js +1 -84
- data/vendor/assets/javascripts/moment/id.js +1 -53
- data/vendor/assets/javascripts/moment/is.js +1 -111
- data/vendor/assets/javascripts/moment/it.js +2 -43
- data/vendor/assets/javascripts/moment/ja.js +1 -45
- data/vendor/assets/javascripts/moment/ka.js +4 -0
- data/vendor/assets/javascripts/moment/ko.js +1 -43
- data/vendor/assets/javascripts/moment/lv.js +1 -64
- data/vendor/assets/javascripts/moment/ms-my.js +4 -0
- data/vendor/assets/javascripts/moment/nb.js +1 -43
- data/vendor/assets/javascripts/moment/ne.js +1 -92
- data/vendor/assets/javascripts/moment/nl.js +1 -54
- data/vendor/assets/javascripts/moment/nn.js +4 -0
- data/vendor/assets/javascripts/moment/pl.js +1 -76
- data/vendor/assets/javascripts/moment/pt-br.js +1 -43
- data/vendor/assets/javascripts/moment/pt.js +1 -47
- data/vendor/assets/javascripts/moment/ro.js +1 -42
- data/vendor/assets/javascripts/moment/ru.js +2 -121
- data/vendor/assets/javascripts/moment/sk.js +5 -0
- data/vendor/assets/javascripts/moment/sl.js +1 -131
- data/vendor/assets/javascripts/moment/sq.js +5 -0
- data/vendor/assets/javascripts/moment/sv.js +1 -50
- data/vendor/assets/javascripts/moment/th.js +1 -45
- data/vendor/assets/javascripts/moment/tr.js +1 -78
- data/vendor/assets/javascripts/moment/tzm-la.js +1 -42
- data/vendor/assets/javascripts/moment/tzm.js +1 -42
- data/vendor/assets/javascripts/moment/uk.js +2 -119
- data/vendor/assets/javascripts/moment/zh-cn.js +1 -55
- data/vendor/assets/javascripts/moment/zh-tw.js +1 -55
- metadata +21 -24
@@ -1,48 +1,4 @@
|
|
1
1
|
// moment.js language configuration
|
2
2
|
// language : thai (th)
|
3
3
|
// author : Kridsada Thanabulpong : https://github.com/sirn
|
4
|
-
|
5
|
-
moment.lang('th', {
|
6
|
-
months : "มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),
|
7
|
-
monthsShort : "มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),
|
8
|
-
weekdays : "อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),
|
9
|
-
weekdaysShort : "อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"), // yes, three characters difference
|
10
|
-
weekdaysMin : "อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),
|
11
|
-
longDateFormat : {
|
12
|
-
LT : "H นาฬิกา m นาที",
|
13
|
-
L : "YYYY/MM/DD",
|
14
|
-
LL : "D MMMM YYYY",
|
15
|
-
LLL : "D MMMM YYYY เวลา LT",
|
16
|
-
LLLL : "วันddddที่ D MMMM YYYY เวลา LT"
|
17
|
-
},
|
18
|
-
meridiem : function (hour, minute, isLower) {
|
19
|
-
if (hour < 12) {
|
20
|
-
return "ก่อนเที่ยง";
|
21
|
-
} else {
|
22
|
-
return "หลังเที่ยง";
|
23
|
-
}
|
24
|
-
},
|
25
|
-
calendar : {
|
26
|
-
sameDay : '[วันนี้ เวลา] LT',
|
27
|
-
nextDay : '[พรุ่งนี้ เวลา] LT',
|
28
|
-
nextWeek : 'dddd[หน้า เวลา] LT',
|
29
|
-
lastDay : '[เมื่อวานนี้ เวลา] LT',
|
30
|
-
lastWeek : '[วัน]dddd[ที่แล้ว เวลา] LT',
|
31
|
-
sameElse : 'L'
|
32
|
-
},
|
33
|
-
relativeTime : {
|
34
|
-
future : "อีก %s",
|
35
|
-
past : "%sที่แล้ว",
|
36
|
-
s : "ไม่กี่วินาที",
|
37
|
-
m : "1 นาที",
|
38
|
-
mm : "%d นาที",
|
39
|
-
h : "1 ชั่วโมง",
|
40
|
-
hh : "%d ชั่วโมง",
|
41
|
-
d : "1 วัน",
|
42
|
-
dd : "%d วัน",
|
43
|
-
M : "1 เดือน",
|
44
|
-
MM : "%d เดือน",
|
45
|
-
y : "1 ปี",
|
46
|
-
yy : "%d ปี"
|
47
|
-
}
|
48
|
-
});
|
4
|
+
!function(){function e(e){e.lang("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21\u0e01\u0e23\u0e32_\u0e01\u0e38\u0e21\u0e20\u0e32_\u0e21\u0e35\u0e19\u0e32_\u0e40\u0e21\u0e29\u0e32_\u0e1e\u0e24\u0e29\u0e20\u0e32_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32_\u0e01\u0e23\u0e01\u0e0e\u0e32_\u0e2a\u0e34\u0e07\u0e2b\u0e32_\u0e01\u0e31\u0e19\u0e22\u0e32_\u0e15\u0e38\u0e25\u0e32_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32_\u0e18\u0e31\u0e19\u0e27\u0e32".split("_"),weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),longDateFormat:{LT:"H \u0e19\u0e32\u0e2c\u0e34\u0e01\u0e32 m \u0e19\u0e32\u0e17\u0e35",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 LT",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 LT"},meridiem:function(e){return 12>e?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -2,81 +2,4 @@
|
|
2
2
|
// language : turkish (tr)
|
3
3
|
// authors : Erhan Gundogan : https://github.com/erhangundogan,
|
4
4
|
// Burak Yiğit Kaya: https://github.com/BYK
|
5
|
-
|
6
|
-
var suffixes = {
|
7
|
-
1: "'inci",
|
8
|
-
5: "'inci",
|
9
|
-
8: "'inci",
|
10
|
-
70: "'inci",
|
11
|
-
80: "'inci",
|
12
|
-
|
13
|
-
2: "'nci",
|
14
|
-
7: "'nci",
|
15
|
-
20: "'nci",
|
16
|
-
50: "'nci",
|
17
|
-
|
18
|
-
3: "'üncü",
|
19
|
-
4: "'üncü",
|
20
|
-
100: "'üncü",
|
21
|
-
|
22
|
-
6: "'ncı",
|
23
|
-
|
24
|
-
9: "'uncu",
|
25
|
-
10: "'uncu",
|
26
|
-
30: "'uncu",
|
27
|
-
|
28
|
-
60: "'ıncı",
|
29
|
-
90: "'ıncı"
|
30
|
-
};
|
31
|
-
|
32
|
-
moment.lang('tr', {
|
33
|
-
months : "Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),
|
34
|
-
monthsShort : "Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),
|
35
|
-
weekdays : "Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),
|
36
|
-
weekdaysShort : "Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),
|
37
|
-
weekdaysMin : "Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),
|
38
|
-
longDateFormat : {
|
39
|
-
LT : "HH:mm",
|
40
|
-
L : "DD.MM.YYYY",
|
41
|
-
LL : "D MMMM YYYY",
|
42
|
-
LLL : "D MMMM YYYY LT",
|
43
|
-
LLLL : "dddd, D MMMM YYYY LT"
|
44
|
-
},
|
45
|
-
calendar : {
|
46
|
-
sameDay : '[bugün saat] LT',
|
47
|
-
nextDay : '[yarın saat] LT',
|
48
|
-
nextWeek : '[haftaya] dddd [saat] LT',
|
49
|
-
lastDay : '[dün] LT',
|
50
|
-
lastWeek : '[geçen hafta] dddd [saat] LT',
|
51
|
-
sameElse : 'L'
|
52
|
-
},
|
53
|
-
relativeTime : {
|
54
|
-
future : "%s sonra",
|
55
|
-
past : "%s önce",
|
56
|
-
s : "birkaç saniye",
|
57
|
-
m : "bir dakika",
|
58
|
-
mm : "%d dakika",
|
59
|
-
h : "bir saat",
|
60
|
-
hh : "%d saat",
|
61
|
-
d : "bir gün",
|
62
|
-
dd : "%d gün",
|
63
|
-
M : "bir ay",
|
64
|
-
MM : "%d ay",
|
65
|
-
y : "bir yıl",
|
66
|
-
yy : "%d yıl"
|
67
|
-
},
|
68
|
-
ordinal : function (number) {
|
69
|
-
if (number === 0) { // special case for zero
|
70
|
-
return number + "'ıncı";
|
71
|
-
}
|
72
|
-
var a = number % 10,
|
73
|
-
b = number % 100 - a,
|
74
|
-
c = number >= 100 ? 100 : null;
|
75
|
-
|
76
|
-
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
77
|
-
},
|
78
|
-
week : {
|
79
|
-
dow : 1, // Monday is the first day of the week.
|
80
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
81
|
-
}
|
82
|
-
});
|
5
|
+
!function(){function e(e){var n={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.lang("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e){if(0===e)return e+"'\u0131nc\u0131";var t=e%10,a=e%100-t,_=e>=100?100:null;return e+(n[t]||n[a]||n[_])},week:{dow:1,doy:7}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -1,45 +1,4 @@
|
|
1
1
|
// moment.js language configuration
|
2
2
|
// language : Morocco Central Atlas Tamaziɣt in Latin (tzm-la)
|
3
3
|
// author : Abdel Said : https://github.com/abdelsaid
|
4
|
-
|
5
|
-
moment.lang('tzm-la', {
|
6
|
-
months : "innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),
|
7
|
-
monthsShort : "innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),
|
8
|
-
weekdays : "asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),
|
9
|
-
weekdaysShort : "asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),
|
10
|
-
weekdaysMin : "asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),
|
11
|
-
longDateFormat : {
|
12
|
-
LT : "HH:mm",
|
13
|
-
L : "DD/MM/YYYY",
|
14
|
-
LL : "D MMMM YYYY",
|
15
|
-
LLL : "D MMMM YYYY LT",
|
16
|
-
LLLL : "dddd D MMMM YYYY LT"
|
17
|
-
},
|
18
|
-
calendar : {
|
19
|
-
sameDay: "[asdkh g] LT",
|
20
|
-
nextDay: '[aska g] LT',
|
21
|
-
nextWeek: 'dddd [g] LT',
|
22
|
-
lastDay: '[assant g] LT',
|
23
|
-
lastWeek: 'dddd [g] LT',
|
24
|
-
sameElse: 'L'
|
25
|
-
},
|
26
|
-
relativeTime : {
|
27
|
-
future : "dadkh s yan %s",
|
28
|
-
past : "yan %s",
|
29
|
-
s : "imik",
|
30
|
-
m : "minuḍ",
|
31
|
-
mm : "%d minuḍ",
|
32
|
-
h : "saɛa",
|
33
|
-
hh : "%d tassaɛin",
|
34
|
-
d : "ass",
|
35
|
-
dd : "%d ossan",
|
36
|
-
M : "ayowr",
|
37
|
-
MM : "%d iyyirn",
|
38
|
-
y : "asgas",
|
39
|
-
yy : "%d isgasn"
|
40
|
-
},
|
41
|
-
week : {
|
42
|
-
dow : 6, // Saturday is the first day of the week.
|
43
|
-
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
44
|
-
}
|
45
|
-
});
|
4
|
+
!function(){function e(e){e.lang("tzm-la",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -1,45 +1,4 @@
|
|
1
1
|
// moment.js language configuration
|
2
2
|
// language : Morocco Central Atlas Tamaziɣt (tzm)
|
3
3
|
// author : Abdel Said : https://github.com/abdelsaid
|
4
|
-
|
5
|
-
moment.lang('tzm', {
|
6
|
-
months : "ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),
|
7
|
-
monthsShort : "ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),
|
8
|
-
weekdays : "ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),
|
9
|
-
weekdaysShort : "ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),
|
10
|
-
weekdaysMin : "ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),
|
11
|
-
longDateFormat : {
|
12
|
-
LT : "HH:mm",
|
13
|
-
L : "DD/MM/YYYY",
|
14
|
-
LL : "D MMMM YYYY",
|
15
|
-
LLL : "D MMMM YYYY LT",
|
16
|
-
LLLL : "dddd D MMMM YYYY LT"
|
17
|
-
},
|
18
|
-
calendar : {
|
19
|
-
sameDay: "[ⴰⵙⴷⵅ ⴴ] LT",
|
20
|
-
nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
|
21
|
-
nextWeek: 'dddd [ⴴ] LT',
|
22
|
-
lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
|
23
|
-
lastWeek: 'dddd [ⴴ] LT',
|
24
|
-
sameElse: 'L'
|
25
|
-
},
|
26
|
-
relativeTime : {
|
27
|
-
future : "ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",
|
28
|
-
past : "ⵢⴰⵏ %s",
|
29
|
-
s : "ⵉⵎⵉⴽ",
|
30
|
-
m : "ⵎⵉⵏⵓⴺ",
|
31
|
-
mm : "%d ⵎⵉⵏⵓⴺ",
|
32
|
-
h : "ⵙⴰⵄⴰ",
|
33
|
-
hh : "%d ⵜⴰⵙⵙⴰⵄⵉⵏ",
|
34
|
-
d : "ⴰⵙⵙ",
|
35
|
-
dd : "%d oⵙⵙⴰⵏ",
|
36
|
-
M : "ⴰⵢoⵓⵔ",
|
37
|
-
MM : "%d ⵉⵢⵢⵉⵔⵏ",
|
38
|
-
y : "ⴰⵙⴳⴰⵙ",
|
39
|
-
yy : "%d ⵉⵙⴳⴰⵙⵏ"
|
40
|
-
},
|
41
|
-
week : {
|
42
|
-
dow : 6, // Saturday is the first day of the week.
|
43
|
-
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
44
|
-
}
|
45
|
-
});
|
4
|
+
!function(){function e(e){e.lang("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -1,122 +1,5 @@
|
|
1
1
|
// moment.js language configuration
|
2
2
|
// language : ukrainian (uk)
|
3
3
|
// author : zemlanin : https://github.com/zemlanin
|
4
|
-
|
5
|
-
|
6
|
-
function (n) { return ((n % 10) >= 2 && (n % 10) <= 4 && ((n % 10) % 1) === 0) && ((n % 100) < 12 || (n % 100) > 14); },
|
7
|
-
function (n) { return ((n % 10) === 0 || ((n % 10) >= 5 && (n % 10) <= 9 && ((n % 10) % 1) === 0) || ((n % 100) >= 11 && (n % 100) <= 14 && ((n % 100) % 1) === 0)); },
|
8
|
-
function (n) { return true; }
|
9
|
-
];
|
10
|
-
|
11
|
-
function plural(word, num) {
|
12
|
-
var forms = word.split('_'),
|
13
|
-
minCount = Math.min(pluralRules.length, forms.length),
|
14
|
-
i = -1;
|
15
|
-
|
16
|
-
while (++i < minCount) {
|
17
|
-
if (pluralRules[i](num)) {
|
18
|
-
return forms[i];
|
19
|
-
}
|
20
|
-
}
|
21
|
-
return forms[minCount - 1];
|
22
|
-
}
|
23
|
-
|
24
|
-
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
25
|
-
var format = {
|
26
|
-
'mm': 'хвилина_хвилини_хвилин_хвилини',
|
27
|
-
'hh': 'година_години_годин_години',
|
28
|
-
'dd': 'день_дня_днів_дня',
|
29
|
-
'MM': 'місяць_місяця_місяців_місяця',
|
30
|
-
'yy': 'рік_року_років_року'
|
31
|
-
};
|
32
|
-
if (key === 'm') {
|
33
|
-
return withoutSuffix ? 'хвилина' : 'хвилину';
|
34
|
-
}
|
35
|
-
else {
|
36
|
-
return number + ' ' + plural(format[key], +number);
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
function monthsCaseReplace(m, format) {
|
41
|
-
var months = {
|
42
|
-
'nominative': 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_'),
|
43
|
-
'accusative': 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_')
|
44
|
-
},
|
45
|
-
|
46
|
-
nounCase = (/D[oD]? *MMMM?/).test(format) ?
|
47
|
-
'accusative' :
|
48
|
-
'nominative';
|
49
|
-
|
50
|
-
return months[nounCase][m.month()];
|
51
|
-
}
|
52
|
-
|
53
|
-
function weekdaysCaseReplace(m, format) {
|
54
|
-
var weekdays = {
|
55
|
-
'nominative': 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'),
|
56
|
-
'accusative': 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_')
|
57
|
-
},
|
58
|
-
|
59
|
-
nounCase = (/\[ ?[Вв] ?(?:попередню|наступну)? ?\] ?dddd/).test(format) ?
|
60
|
-
'accusative' :
|
61
|
-
'nominative';
|
62
|
-
|
63
|
-
return weekdays[nounCase][m.day()];
|
64
|
-
}
|
65
|
-
|
66
|
-
moment.lang('uk', {
|
67
|
-
months : monthsCaseReplace,
|
68
|
-
monthsShort : "січ_лют_бер_кві_тра_чер_лип_сер_вер_жов_лис_гру".split("_"),
|
69
|
-
weekdays : weekdaysCaseReplace,
|
70
|
-
weekdaysShort : "нед_пон_вів_срд_чет_птн_суб".split("_"),
|
71
|
-
weekdaysMin : "нд_пн_вт_ср_чт_пт_сб".split("_"),
|
72
|
-
longDateFormat : {
|
73
|
-
LT : "HH:mm",
|
74
|
-
L : "DD.MM.YYYY",
|
75
|
-
LL : "D MMMM YYYY г.",
|
76
|
-
LLL : "D MMMM YYYY г., LT",
|
77
|
-
LLLL : "dddd, D MMMM YYYY г., LT"
|
78
|
-
},
|
79
|
-
calendar : {
|
80
|
-
sameDay: '[Сьогодні в] LT',
|
81
|
-
nextDay: '[Завтра в] LT',
|
82
|
-
lastDay: '[Вчора в] LT',
|
83
|
-
nextWeek: function () {
|
84
|
-
return this.day() === 2 ? '[У] dddd [в] LT' : '[В] dddd [в] LT';
|
85
|
-
},
|
86
|
-
lastWeek: function () {
|
87
|
-
switch (this.day()) {
|
88
|
-
case 0:
|
89
|
-
case 3:
|
90
|
-
case 5:
|
91
|
-
case 6:
|
92
|
-
return '[В минулу] dddd [в] LT';
|
93
|
-
case 1:
|
94
|
-
case 2:
|
95
|
-
case 4:
|
96
|
-
return '[В минулий] dddd [в] LT';
|
97
|
-
}
|
98
|
-
},
|
99
|
-
sameElse: 'L'
|
100
|
-
},
|
101
|
-
// It needs checking (adding) ukrainan plurals and cases.
|
102
|
-
relativeTime : {
|
103
|
-
future : "через %s",
|
104
|
-
past : "%s тому",
|
105
|
-
s : "декілька секунд",
|
106
|
-
m : relativeTimeWithPlural,
|
107
|
-
mm : relativeTimeWithPlural,
|
108
|
-
h : "годину",
|
109
|
-
hh : relativeTimeWithPlural,
|
110
|
-
d : "день",
|
111
|
-
dd : relativeTimeWithPlural,
|
112
|
-
M : "місяць",
|
113
|
-
MM : relativeTimeWithPlural,
|
114
|
-
y : "рік",
|
115
|
-
yy : relativeTimeWithPlural
|
116
|
-
},
|
117
|
-
ordinal : '%d.',
|
118
|
-
week : {
|
119
|
-
dow : 1, // Monday is the first day of the week.
|
120
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
121
|
-
}
|
122
|
-
});
|
4
|
+
// Author : Menelion Elensúle : https://github.com/Oire
|
5
|
+
!function(){function e(e){function n(e,n){var t=e.split("_");return 1===n%10&&11!==n%100?t[0]:n%10>=2&&4>=n%10&&(10>n%100||n%100>=20)?t[1]:t[2]}function t(e,t,a){var _={mm:"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"};return"m"===a?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===a?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+n(_[a],+e)}function a(e,n){var t={nominative:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_"),accusative:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_")},a=/D[oD]? *MMMM?/.test(n)?"accusative":"nominative";return t[a][e.month()]}function _(e,n){var t={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")},a=/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(n)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(n)?"genitive":"nominative";return t[a][e.day()]}function d(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.lang("uk",{months:a,monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456_\u0442\u0440\u0430_\u0447\u0435\u0440_\u043b\u0438\u043f_\u0441\u0435\u0440_\u0432\u0435\u0440_\u0436\u043e\u0432_\u043b\u0438\u0441_\u0433\u0440\u0443".split("_"),weekdays:_,weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0456\u0432_\u0441\u0440\u0434_\u0447\u0435\u0442_\u043f\u0442\u043d_\u0441\u0443\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., LT",LLLL:"dddd, D MMMM YYYY \u0440., LT"},calendar:{sameDay:d("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:d("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:d("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:d("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return d("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return d("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},ordinal:function(e,n){switch(n){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -1,58 +1,4 @@
|
|
1
1
|
// moment.js language configuration
|
2
2
|
// language : chinese
|
3
3
|
// author : suupic : https://github.com/suupic
|
4
|
-
|
5
|
-
moment.lang('zh-cn', {
|
6
|
-
months : "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
|
7
|
-
monthsShort : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
|
8
|
-
weekdays : "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
|
9
|
-
weekdaysShort : "周日_周一_周二_周三_周四_周五_周六".split("_"),
|
10
|
-
weekdaysMin : "日_一_二_三_四_五_六".split("_"),
|
11
|
-
longDateFormat : {
|
12
|
-
LT : "Ah点mm",
|
13
|
-
L : "YYYY年MMMD日",
|
14
|
-
LL : "YYYY年MMMD日",
|
15
|
-
LLL : "YYYY年MMMD日LT",
|
16
|
-
LLLL : "YYYY年MMMD日ddddLT",
|
17
|
-
l : "YYYY年MMMD日",
|
18
|
-
ll : "YYYY年MMMD日",
|
19
|
-
lll : "YYYY年MMMD日LT",
|
20
|
-
llll : "YYYY年MMMD日ddddLT"
|
21
|
-
},
|
22
|
-
meridiem : function (hour, minute, isLower) {
|
23
|
-
if (hour < 9) {
|
24
|
-
return "早上";
|
25
|
-
} else if (hour < 11 && minute < 30) {
|
26
|
-
return "上午";
|
27
|
-
} else if (hour < 13 && minute < 30) {
|
28
|
-
return "中午";
|
29
|
-
} else if (hour < 18) {
|
30
|
-
return "下午";
|
31
|
-
} else {
|
32
|
-
return "晚上";
|
33
|
-
}
|
34
|
-
},
|
35
|
-
calendar : {
|
36
|
-
sameDay : '[今天]LT',
|
37
|
-
nextDay : '[明天]LT',
|
38
|
-
nextWeek : '[下]ddddLT',
|
39
|
-
lastDay : '[昨天]LT',
|
40
|
-
lastWeek : '[上]ddddLT',
|
41
|
-
sameElse : 'L'
|
42
|
-
},
|
43
|
-
relativeTime : {
|
44
|
-
future : "%s内",
|
45
|
-
past : "%s前",
|
46
|
-
s : "几秒",
|
47
|
-
m : "1分钟",
|
48
|
-
mm : "%d分钟",
|
49
|
-
h : "1小时",
|
50
|
-
hh : "%d小时",
|
51
|
-
d : "1天",
|
52
|
-
dd : "%d天",
|
53
|
-
M : "1个月",
|
54
|
-
MM : "%d个月",
|
55
|
-
y : "1年",
|
56
|
-
yy : "%d年"
|
57
|
-
}
|
58
|
-
});
|
4
|
+
!function(){function e(e){e.lang("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"Ah\u70b9mm",L:"YYYY\u5e74MMMD\u65e5",LL:"YYYY\u5e74MMMD\u65e5",LLL:"YYYY\u5e74MMMD\u65e5LT",LLLL:"YYYY\u5e74MMMD\u65e5ddddLT",l:"YYYY\u5e74MMMD\u65e5",ll:"YYYY\u5e74MMMD\u65e5",lll:"YYYY\u5e74MMMD\u65e5LT",llll:"YYYY\u5e74MMMD\u65e5ddddLT"},meridiem:function(e,n){return 9>e?"\u65e9\u4e0a":11>e&&30>n?"\u4e0a\u5348":13>e&&30>n?"\u4e2d\u5348":18>e?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},ordinal:function(e,n){switch(n){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",m:"1\u5206\u949f",mm:"%d\u5206\u949f",h:"1\u5c0f\u65f6",hh:"%d\u5c0f\u65f6",d:"1\u5929",dd:"%d\u5929",M:"1\u4e2a\u6708",MM:"%d\u4e2a\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -1,58 +1,4 @@
|
|
1
1
|
// moment.js language configuration
|
2
2
|
// language : traditional chinese (zh-tw)
|
3
3
|
// author : Ben : https://github.com/ben-lin
|
4
|
-
|
5
|
-
moment.lang('zh-tw', {
|
6
|
-
months : "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
|
7
|
-
monthsShort : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
|
8
|
-
weekdays : "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
|
9
|
-
weekdaysShort : "週日_週一_週二_週三_週四_週五_週六".split("_"),
|
10
|
-
weekdaysMin : "日_一_二_三_四_五_六".split("_"),
|
11
|
-
longDateFormat : {
|
12
|
-
LT : "Ah點mm",
|
13
|
-
L : "YYYY年MMMD日",
|
14
|
-
LL : "YYYY年MMMD日",
|
15
|
-
LLL : "YYYY年MMMD日LT",
|
16
|
-
LLLL : "YYYY年MMMD日ddddLT",
|
17
|
-
l : "YYYY年MMMD日",
|
18
|
-
ll : "YYYY年MMMD日",
|
19
|
-
lll : "YYYY年MMMD日LT",
|
20
|
-
llll : "YYYY年MMMD日ddddLT"
|
21
|
-
},
|
22
|
-
meridiem : function (hour, minute, isLower) {
|
23
|
-
if (hour < 9) {
|
24
|
-
return "早上";
|
25
|
-
} else if (hour < 11 && minute < 30) {
|
26
|
-
return "上午";
|
27
|
-
} else if (hour < 13 && minute < 30) {
|
28
|
-
return "中午";
|
29
|
-
} else if (hour < 18) {
|
30
|
-
return "下午";
|
31
|
-
} else {
|
32
|
-
return "晚上";
|
33
|
-
}
|
34
|
-
},
|
35
|
-
calendar : {
|
36
|
-
sameDay : '[今天]LT',
|
37
|
-
nextDay : '[明天]LT',
|
38
|
-
nextWeek : '[下]ddddLT',
|
39
|
-
lastDay : '[昨天]LT',
|
40
|
-
lastWeek : '[上]ddddLT',
|
41
|
-
sameElse : 'L'
|
42
|
-
},
|
43
|
-
relativeTime : {
|
44
|
-
future : "%s內",
|
45
|
-
past : "%s前",
|
46
|
-
s : "幾秒",
|
47
|
-
m : "一分鐘",
|
48
|
-
mm : "%d分鐘",
|
49
|
-
h : "一小時",
|
50
|
-
hh : "%d小時",
|
51
|
-
d : "一天",
|
52
|
-
dd : "%d天",
|
53
|
-
M : "一個月",
|
54
|
-
MM : "%d個月",
|
55
|
-
y : "一年",
|
56
|
-
yy : "%d年"
|
57
|
-
}
|
58
|
-
});
|
4
|
+
!function(){function e(e){e.lang("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"Ah\u9edemm",L:"YYYY\u5e74MMMD\u65e5",LL:"YYYY\u5e74MMMD\u65e5",LLL:"YYYY\u5e74MMMD\u65e5LT",LLLL:"YYYY\u5e74MMMD\u65e5ddddLT",l:"YYYY\u5e74MMMD\u65e5",ll:"YYYY\u5e74MMMD\u65e5",lll:"YYYY\u5e74MMMD\u65e5LT",llll:"YYYY\u5e74MMMD\u65e5ddddLT"},meridiem:function(e,n){return 9>e?"\u65e9\u4e0a":11>e&&30>n?"\u4e0a\u5348":13>e&&30>n?"\u4e2d\u5348":18>e?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},ordinal:function(e,n){switch(n){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",m:"\u4e00\u5206\u9418",mm:"%d\u5206\u9418",h:"\u4e00\u5c0f\u6642",hh:"%d\u5c0f\u6642",d:"\u4e00\u5929",dd:"%d\u5929",M:"\u4e00\u500b\u6708",MM:"%d\u500b\u6708",y:"\u4e00\u5e74",yy:"%d\u5e74"}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|