cone.calendar 1.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cone/calendar/__init__.py +20 -0
- cone/calendar/browser/__init__.py +88 -0
- cone/calendar/browser/calendar.pt +16 -0
- cone/calendar/browser/calendar.py +370 -0
- cone/calendar/browser/static/calendar/cone.calendar.css +23 -0
- cone/calendar/browser/static/calendar/cone.calendar.js +241 -0
- cone/calendar/browser/static/calendar/cone.calendar.min.js +1 -0
- cone/calendar/browser/static/fullcalendar/fullcalendar.css +1404 -0
- cone/calendar/browser/static/fullcalendar/fullcalendar.js +14206 -0
- cone/calendar/browser/static/fullcalendar/fullcalendar.min.css +5 -0
- cone/calendar/browser/static/fullcalendar/fullcalendar.min.js +10 -0
- cone/calendar/browser/static/fullcalendar/fullcalendar.print.css +208 -0
- cone/calendar/browser/static/fullcalendar/fullcalendar.print.min.css +5 -0
- cone/calendar/browser/static/fullcalendar/gcal.js +180 -0
- cone/calendar/browser/static/fullcalendar/gcal.min.js +6 -0
- cone/calendar/browser/static/fullcalendar/locale/af.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/ar-dz.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/ar-ly.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/ar-ma.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/ar-sa.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/ar-tn.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/ar.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/bg.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/ca.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/cs.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/da.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/de-at.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/de.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/el.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/en-au.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/en-ca.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/en-gb.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/en-ie.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/en-nz.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/es-do.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/es.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/eu.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/fa.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/fi.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/fr-ca.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/fr-ch.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/fr.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/gl.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/he.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/hi.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/hr.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/hu.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/id.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/is.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/it.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/ja.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/kk.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/ko.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/lb.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/lt.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/lv.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/mk.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/ms-my.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/ms.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/nb.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/nl-be.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/nl.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/nn.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/pl.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/pt-br.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/pt.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/ro.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/ru.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/sk.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/sl.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/sr-cyrl.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/sr.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/sv.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/th.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/tr.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/uk.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/vi.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/zh-cn.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale/zh-tw.js +1 -0
- cone/calendar/browser/static/fullcalendar/locale-all.js +5 -0
- cone/calendar/browser/static/moment/locale/af.js +73 -0
- cone/calendar/browser/static/moment/locale/ar-dz.js +59 -0
- cone/calendar/browser/static/moment/locale/ar-ly.js +126 -0
- cone/calendar/browser/static/moment/locale/ar-ma.js +60 -0
- cone/calendar/browser/static/moment/locale/ar-sa.js +105 -0
- cone/calendar/browser/static/moment/locale/ar-tn.js +59 -0
- cone/calendar/browser/static/moment/locale/ar.js +142 -0
- cone/calendar/browser/static/moment/locale/az.js +105 -0
- cone/calendar/browser/static/moment/locale/be.js +134 -0
- cone/calendar/browser/static/moment/locale/bg.js +90 -0
- cone/calendar/browser/static/moment/locale/bn.js +119 -0
- cone/calendar/browser/static/moment/locale/bo.js +119 -0
- cone/calendar/browser/static/moment/locale/br.js +108 -0
- cone/calendar/browser/static/moment/locale/bs.js +143 -0
- cone/calendar/browser/static/moment/locale/ca.js +81 -0
- cone/calendar/browser/static/moment/locale/cs.js +172 -0
- cone/calendar/browser/static/moment/locale/cv.js +63 -0
- cone/calendar/browser/static/moment/locale/cy.js +81 -0
- cone/calendar/browser/static/moment/locale/da.js +60 -0
- cone/calendar/browser/static/moment/locale/de-at.js +79 -0
- cone/calendar/browser/static/moment/locale/de.js +78 -0
- cone/calendar/browser/static/moment/locale/dv.js +100 -0
- cone/calendar/browser/static/moment/locale/el.js +98 -0
- cone/calendar/browser/static/moment/locale/en-au.js +67 -0
- cone/calendar/browser/static/moment/locale/en-ca.js +63 -0
- cone/calendar/browser/static/moment/locale/en-gb.js +67 -0
- cone/calendar/browser/static/moment/locale/en-ie.js +67 -0
- cone/calendar/browser/static/moment/locale/en-nz.js +67 -0
- cone/calendar/browser/static/moment/locale/eo.js +73 -0
- cone/calendar/browser/static/moment/locale/es-do.js +80 -0
- cone/calendar/browser/static/moment/locale/es.js +81 -0
- cone/calendar/browser/static/moment/locale/et.js +80 -0
- cone/calendar/browser/static/moment/locale/eu.js +66 -0
- cone/calendar/browser/static/moment/locale/fa.js +107 -0
- cone/calendar/browser/static/moment/locale/fi.js +107 -0
- cone/calendar/browser/static/moment/locale/fo.js +60 -0
- cone/calendar/browser/static/moment/locale/fr-ca.js +60 -0
- cone/calendar/browser/static/moment/locale/fr-ch.js +64 -0
- cone/calendar/browser/static/moment/locale/fr.js +64 -0
- cone/calendar/browser/static/moment/locale/fy.js +73 -0
- cone/calendar/browser/static/moment/locale/gd.js +76 -0
- cone/calendar/browser/static/moment/locale/gl.js +77 -0
- cone/calendar/browser/static/moment/locale/he.js +99 -0
- cone/calendar/browser/static/moment/locale/hi.js +124 -0
- cone/calendar/browser/static/moment/locale/hr.js +145 -0
- cone/calendar/browser/static/moment/locale/hu.js +109 -0
- cone/calendar/browser/static/moment/locale/hy-am.js +95 -0
- cone/calendar/browser/static/moment/locale/id.js +83 -0
- cone/calendar/browser/static/moment/locale/is.js +127 -0
- cone/calendar/browser/static/moment/locale/it.js +70 -0
- cone/calendar/browser/static/moment/locale/ja.js +76 -0
- cone/calendar/browser/static/moment/locale/jv.js +83 -0
- cone/calendar/browser/static/moment/locale/ka.js +89 -0
- cone/calendar/browser/static/moment/locale/kk.js +87 -0
- cone/calendar/browser/static/moment/locale/km.js +58 -0
- cone/calendar/browser/static/moment/locale/ko.js +65 -0
- cone/calendar/browser/static/moment/locale/ky.js +88 -0
- cone/calendar/browser/static/moment/locale/lb.js +137 -0
- cone/calendar/browser/static/moment/locale/lo.js +70 -0
- cone/calendar/browser/static/moment/locale/lt.js +117 -0
- cone/calendar/browser/static/moment/locale/lv.js +97 -0
- cone/calendar/browser/static/moment/locale/me.js +111 -0
- cone/calendar/browser/static/moment/locale/mi.js +64 -0
- cone/calendar/browser/static/moment/locale/mk.js +90 -0
- cone/calendar/browser/static/moment/locale/ml.js +81 -0
- cone/calendar/browser/static/moment/locale/mr.js +159 -0
- cone/calendar/browser/static/moment/locale/ms-my.js +83 -0
- cone/calendar/browser/static/moment/locale/ms.js +82 -0
- cone/calendar/browser/static/moment/locale/my.js +96 -0
- cone/calendar/browser/static/moment/locale/nb.js +63 -0
- cone/calendar/browser/static/moment/locale/ne.js +123 -0
- cone/calendar/browser/static/moment/locale/nl-be.js +86 -0
- cone/calendar/browser/static/moment/locale/nl.js +86 -0
- cone/calendar/browser/static/moment/locale/nn.js +60 -0
- cone/calendar/browser/static/moment/locale/pa-in.js +124 -0
- cone/calendar/browser/static/moment/locale/pl.js +105 -0
- cone/calendar/browser/static/moment/locale/pt-br.js +61 -0
- cone/calendar/browser/static/moment/locale/pt.js +65 -0
- cone/calendar/browser/static/moment/locale/ro.js +75 -0
- cone/calendar/browser/static/moment/locale/ru.js +183 -0
- cone/calendar/browser/static/moment/locale/se.js +61 -0
- cone/calendar/browser/static/moment/locale/si.js +71 -0
- cone/calendar/browser/static/moment/locale/sk.js +150 -0
- cone/calendar/browser/static/moment/locale/sl.js +162 -0
- cone/calendar/browser/static/moment/locale/sq.js +70 -0
- cone/calendar/browser/static/moment/locale/sr-cyrl.js +110 -0
- cone/calendar/browser/static/moment/locale/sr.js +110 -0
- cone/calendar/browser/static/moment/locale/ss.js +89 -0
- cone/calendar/browser/static/moment/locale/sv.js +69 -0
- cone/calendar/browser/static/moment/locale/sw.js +59 -0
- cone/calendar/browser/static/moment/locale/ta.js +130 -0
- cone/calendar/browser/static/moment/locale/te.js +89 -0
- cone/calendar/browser/static/moment/locale/tet.js +68 -0
- cone/calendar/browser/static/moment/locale/th.js +67 -0
- cone/calendar/browser/static/moment/locale/tl-ph.js +62 -0
- cone/calendar/browser/static/moment/locale/tlh.js +120 -0
- cone/calendar/browser/static/moment/locale/tr.js +90 -0
- cone/calendar/browser/static/moment/locale/tzl.js +91 -0
- cone/calendar/browser/static/moment/locale/tzm-latn.js +58 -0
- cone/calendar/browser/static/moment/locale/tzm.js +58 -0
- cone/calendar/browser/static/moment/locale/uk.js +146 -0
- cone/calendar/browser/static/moment/locale/uz.js +58 -0
- cone/calendar/browser/static/moment/locale/vi.js +79 -0
- cone/calendar/browser/static/moment/locale/x-pseudo.js +68 -0
- cone/calendar/browser/static/moment/locale/yo.js +60 -0
- cone/calendar/browser/static/moment/locale/zh-cn.js +127 -0
- cone/calendar/browser/static/moment/locale/zh-hk.js +105 -0
- cone/calendar/browser/static/moment/locale/zh-tw.js +104 -0
- cone/calendar/browser/static/moment/locales.js +8624 -0
- cone/calendar/browser/static/moment/locales.min.js +663 -0
- cone/calendar/browser/static/moment/moment-with-locales.js +12910 -0
- cone/calendar/browser/static/moment/moment-with-locales.min.js +1216 -0
- cone/calendar/browser/static/moment/moment.min.js +551 -0
- cone/calendar/interfaces.py +14 -0
- cone/calendar/locale/cone.calendar.pot +0 -0
- cone/calendar/locale/de/LC_MESSAGES/cone.calendar.po +0 -0
- cone/calendar/locale/en/LC_MESSAGES/cone.calendar.po +0 -0
- cone/calendar/tests/test_calendar.py +340 -0
- cone_calendar-1.1.0.dist-info/METADATA +252 -0
- cone_calendar-1.1.0.dist-info/RECORD +202 -0
- cone_calendar-1.1.0.dist-info/WHEEL +4 -0
- cone_calendar-1.1.0.dist-info/licenses/LICENSE.rst +27 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Telugu [te]
|
|
3
|
+
//! author : Krishna Chaitanya Thota : https://github.com/kcthota
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var te = moment.defineLocale('te', {
|
|
14
|
+
months : 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'),
|
|
15
|
+
monthsShort : 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'),
|
|
16
|
+
monthsParseExact : true,
|
|
17
|
+
weekdays : 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'),
|
|
18
|
+
weekdaysShort : 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
|
|
19
|
+
weekdaysMin : 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
|
|
20
|
+
longDateFormat : {
|
|
21
|
+
LT : 'A h:mm',
|
|
22
|
+
LTS : 'A h:mm:ss',
|
|
23
|
+
L : 'DD/MM/YYYY',
|
|
24
|
+
LL : 'D MMMM YYYY',
|
|
25
|
+
LLL : 'D MMMM YYYY, A h:mm',
|
|
26
|
+
LLLL : 'dddd, D MMMM YYYY, A h:mm'
|
|
27
|
+
},
|
|
28
|
+
calendar : {
|
|
29
|
+
sameDay : '[నేడు] LT',
|
|
30
|
+
nextDay : '[రేపు] LT',
|
|
31
|
+
nextWeek : 'dddd, LT',
|
|
32
|
+
lastDay : '[నిన్న] LT',
|
|
33
|
+
lastWeek : '[గత] dddd, LT',
|
|
34
|
+
sameElse : 'L'
|
|
35
|
+
},
|
|
36
|
+
relativeTime : {
|
|
37
|
+
future : '%s లో',
|
|
38
|
+
past : '%s క్రితం',
|
|
39
|
+
s : 'కొన్ని క్షణాలు',
|
|
40
|
+
m : 'ఒక నిమిషం',
|
|
41
|
+
mm : '%d నిమిషాలు',
|
|
42
|
+
h : 'ఒక గంట',
|
|
43
|
+
hh : '%d గంటలు',
|
|
44
|
+
d : 'ఒక రోజు',
|
|
45
|
+
dd : '%d రోజులు',
|
|
46
|
+
M : 'ఒక నెల',
|
|
47
|
+
MM : '%d నెలలు',
|
|
48
|
+
y : 'ఒక సంవత్సరం',
|
|
49
|
+
yy : '%d సంవత్సరాలు'
|
|
50
|
+
},
|
|
51
|
+
ordinalParse : /\d{1,2}వ/,
|
|
52
|
+
ordinal : '%dవ',
|
|
53
|
+
meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
|
|
54
|
+
meridiemHour : function (hour, meridiem) {
|
|
55
|
+
if (hour === 12) {
|
|
56
|
+
hour = 0;
|
|
57
|
+
}
|
|
58
|
+
if (meridiem === 'రాత్రి') {
|
|
59
|
+
return hour < 4 ? hour : hour + 12;
|
|
60
|
+
} else if (meridiem === 'ఉదయం') {
|
|
61
|
+
return hour;
|
|
62
|
+
} else if (meridiem === 'మధ్యాహ్నం') {
|
|
63
|
+
return hour >= 10 ? hour : hour + 12;
|
|
64
|
+
} else if (meridiem === 'సాయంత్రం') {
|
|
65
|
+
return hour + 12;
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
meridiem : function (hour, minute, isLower) {
|
|
69
|
+
if (hour < 4) {
|
|
70
|
+
return 'రాత్రి';
|
|
71
|
+
} else if (hour < 10) {
|
|
72
|
+
return 'ఉదయం';
|
|
73
|
+
} else if (hour < 17) {
|
|
74
|
+
return 'మధ్యాహ్నం';
|
|
75
|
+
} else if (hour < 20) {
|
|
76
|
+
return 'సాయంత్రం';
|
|
77
|
+
} else {
|
|
78
|
+
return 'రాత్రి';
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
week : {
|
|
82
|
+
dow : 0, // Sunday is the first day of the week.
|
|
83
|
+
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
return te;
|
|
88
|
+
|
|
89
|
+
})));
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Tetun Dili (East Timor) [tet]
|
|
3
|
+
//! author : Joshua Brooks : https://github.com/joshbrooks
|
|
4
|
+
//! author : Onorio De J. Afonso : https://github.com/marobo
|
|
5
|
+
|
|
6
|
+
;(function (global, factory) {
|
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
8
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
10
|
+
factory(global.moment)
|
|
11
|
+
}(this, (function (moment) { 'use strict';
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
var tet = moment.defineLocale('tet', {
|
|
15
|
+
months : 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru'.split('_'),
|
|
16
|
+
monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez'.split('_'),
|
|
17
|
+
weekdays : 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu'.split('_'),
|
|
18
|
+
weekdaysShort : 'Dom_Seg_Ters_Kua_Kint_Sext_Sab'.split('_'),
|
|
19
|
+
weekdaysMin : 'Do_Seg_Te_Ku_Ki_Sex_Sa'.split('_'),
|
|
20
|
+
longDateFormat : {
|
|
21
|
+
LT : 'HH:mm',
|
|
22
|
+
LTS : 'HH:mm:ss',
|
|
23
|
+
L : 'DD/MM/YYYY',
|
|
24
|
+
LL : 'D MMMM YYYY',
|
|
25
|
+
LLL : 'D MMMM YYYY HH:mm',
|
|
26
|
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
|
27
|
+
},
|
|
28
|
+
calendar : {
|
|
29
|
+
sameDay: '[Ohin iha] LT',
|
|
30
|
+
nextDay: '[Aban iha] LT',
|
|
31
|
+
nextWeek: 'dddd [iha] LT',
|
|
32
|
+
lastDay: '[Horiseik iha] LT',
|
|
33
|
+
lastWeek: 'dddd [semana kotuk] [iha] LT',
|
|
34
|
+
sameElse: 'L'
|
|
35
|
+
},
|
|
36
|
+
relativeTime : {
|
|
37
|
+
future : 'iha %s',
|
|
38
|
+
past : '%s liuba',
|
|
39
|
+
s : 'minutu balun',
|
|
40
|
+
m : 'minutu ida',
|
|
41
|
+
mm : 'minutus %d',
|
|
42
|
+
h : 'horas ida',
|
|
43
|
+
hh : 'horas %d',
|
|
44
|
+
d : 'loron ida',
|
|
45
|
+
dd : 'loron %d',
|
|
46
|
+
M : 'fulan ida',
|
|
47
|
+
MM : 'fulan %d',
|
|
48
|
+
y : 'tinan ida',
|
|
49
|
+
yy : 'tinan %d'
|
|
50
|
+
},
|
|
51
|
+
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
|
|
52
|
+
ordinal : function (number) {
|
|
53
|
+
var b = number % 10,
|
|
54
|
+
output = (~~(number % 100 / 10) === 1) ? 'th' :
|
|
55
|
+
(b === 1) ? 'st' :
|
|
56
|
+
(b === 2) ? 'nd' :
|
|
57
|
+
(b === 3) ? 'rd' : 'th';
|
|
58
|
+
return number + output;
|
|
59
|
+
},
|
|
60
|
+
week : {
|
|
61
|
+
dow : 1, // Monday is the first day of the week.
|
|
62
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
return tet;
|
|
67
|
+
|
|
68
|
+
})));
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Thai [th]
|
|
3
|
+
//! author : Kridsada Thanabulpong : https://github.com/sirn
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var th = moment.defineLocale('th', {
|
|
14
|
+
months : 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'),
|
|
15
|
+
monthsShort : 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'),
|
|
16
|
+
monthsParseExact: true,
|
|
17
|
+
weekdays : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
|
|
18
|
+
weekdaysShort : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
|
|
19
|
+
weekdaysMin : 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
|
|
20
|
+
weekdaysParseExact : true,
|
|
21
|
+
longDateFormat : {
|
|
22
|
+
LT : 'H:mm',
|
|
23
|
+
LTS : 'H:mm:ss',
|
|
24
|
+
L : 'YYYY/MM/DD',
|
|
25
|
+
LL : 'D MMMM YYYY',
|
|
26
|
+
LLL : 'D MMMM YYYY เวลา H:mm',
|
|
27
|
+
LLLL : 'วันddddที่ D MMMM YYYY เวลา H:mm'
|
|
28
|
+
},
|
|
29
|
+
meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
|
|
30
|
+
isPM: function (input) {
|
|
31
|
+
return input === 'หลังเที่ยง';
|
|
32
|
+
},
|
|
33
|
+
meridiem : function (hour, minute, isLower) {
|
|
34
|
+
if (hour < 12) {
|
|
35
|
+
return 'ก่อนเที่ยง';
|
|
36
|
+
} else {
|
|
37
|
+
return 'หลังเที่ยง';
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
calendar : {
|
|
41
|
+
sameDay : '[วันนี้ เวลา] LT',
|
|
42
|
+
nextDay : '[พรุ่งนี้ เวลา] LT',
|
|
43
|
+
nextWeek : 'dddd[หน้า เวลา] LT',
|
|
44
|
+
lastDay : '[เมื่อวานนี้ เวลา] LT',
|
|
45
|
+
lastWeek : '[วัน]dddd[ที่แล้ว เวลา] LT',
|
|
46
|
+
sameElse : 'L'
|
|
47
|
+
},
|
|
48
|
+
relativeTime : {
|
|
49
|
+
future : 'อีก %s',
|
|
50
|
+
past : '%sที่แล้ว',
|
|
51
|
+
s : 'ไม่กี่วินาที',
|
|
52
|
+
m : '1 นาที',
|
|
53
|
+
mm : '%d นาที',
|
|
54
|
+
h : '1 ชั่วโมง',
|
|
55
|
+
hh : '%d ชั่วโมง',
|
|
56
|
+
d : '1 วัน',
|
|
57
|
+
dd : '%d วัน',
|
|
58
|
+
M : '1 เดือน',
|
|
59
|
+
MM : '%d เดือน',
|
|
60
|
+
y : '1 ปี',
|
|
61
|
+
yy : '%d ปี'
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
return th;
|
|
66
|
+
|
|
67
|
+
})));
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Tagalog (Philippines) [tl-ph]
|
|
3
|
+
//! author : Dan Hagman : https://github.com/hagmandan
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var tlPh = moment.defineLocale('tl-ph', {
|
|
14
|
+
months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
|
|
15
|
+
monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
|
|
16
|
+
weekdays : 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
|
|
17
|
+
weekdaysShort : 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
|
|
18
|
+
weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
|
|
19
|
+
longDateFormat : {
|
|
20
|
+
LT : 'HH:mm',
|
|
21
|
+
LTS : 'HH:mm:ss',
|
|
22
|
+
L : 'MM/D/YYYY',
|
|
23
|
+
LL : 'MMMM D, YYYY',
|
|
24
|
+
LLL : 'MMMM D, YYYY HH:mm',
|
|
25
|
+
LLLL : 'dddd, MMMM DD, YYYY HH:mm'
|
|
26
|
+
},
|
|
27
|
+
calendar : {
|
|
28
|
+
sameDay: 'LT [ngayong araw]',
|
|
29
|
+
nextDay: '[Bukas ng] LT',
|
|
30
|
+
nextWeek: 'LT [sa susunod na] dddd',
|
|
31
|
+
lastDay: 'LT [kahapon]',
|
|
32
|
+
lastWeek: 'LT [noong nakaraang] dddd',
|
|
33
|
+
sameElse: 'L'
|
|
34
|
+
},
|
|
35
|
+
relativeTime : {
|
|
36
|
+
future : 'sa loob ng %s',
|
|
37
|
+
past : '%s ang nakalipas',
|
|
38
|
+
s : 'ilang segundo',
|
|
39
|
+
m : 'isang minuto',
|
|
40
|
+
mm : '%d minuto',
|
|
41
|
+
h : 'isang oras',
|
|
42
|
+
hh : '%d oras',
|
|
43
|
+
d : 'isang araw',
|
|
44
|
+
dd : '%d araw',
|
|
45
|
+
M : 'isang buwan',
|
|
46
|
+
MM : '%d buwan',
|
|
47
|
+
y : 'isang taon',
|
|
48
|
+
yy : '%d taon'
|
|
49
|
+
},
|
|
50
|
+
ordinalParse: /\d{1,2}/,
|
|
51
|
+
ordinal : function (number) {
|
|
52
|
+
return number;
|
|
53
|
+
},
|
|
54
|
+
week : {
|
|
55
|
+
dow : 1, // Monday is the first day of the week.
|
|
56
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
return tlPh;
|
|
61
|
+
|
|
62
|
+
})));
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Klingon [tlh]
|
|
3
|
+
//! author : Dominika Kruk : https://github.com/amaranthrose
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
|
|
14
|
+
|
|
15
|
+
function translateFuture(output) {
|
|
16
|
+
var time = output;
|
|
17
|
+
time = (output.indexOf('jaj') !== -1) ?
|
|
18
|
+
time.slice(0, -3) + 'leS' :
|
|
19
|
+
(output.indexOf('jar') !== -1) ?
|
|
20
|
+
time.slice(0, -3) + 'waQ' :
|
|
21
|
+
(output.indexOf('DIS') !== -1) ?
|
|
22
|
+
time.slice(0, -3) + 'nem' :
|
|
23
|
+
time + ' pIq';
|
|
24
|
+
return time;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function translatePast(output) {
|
|
28
|
+
var time = output;
|
|
29
|
+
time = (output.indexOf('jaj') !== -1) ?
|
|
30
|
+
time.slice(0, -3) + 'Hu’' :
|
|
31
|
+
(output.indexOf('jar') !== -1) ?
|
|
32
|
+
time.slice(0, -3) + 'wen' :
|
|
33
|
+
(output.indexOf('DIS') !== -1) ?
|
|
34
|
+
time.slice(0, -3) + 'ben' :
|
|
35
|
+
time + ' ret';
|
|
36
|
+
return time;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function translate(number, withoutSuffix, string, isFuture) {
|
|
40
|
+
var numberNoun = numberAsNoun(number);
|
|
41
|
+
switch (string) {
|
|
42
|
+
case 'mm':
|
|
43
|
+
return numberNoun + ' tup';
|
|
44
|
+
case 'hh':
|
|
45
|
+
return numberNoun + ' rep';
|
|
46
|
+
case 'dd':
|
|
47
|
+
return numberNoun + ' jaj';
|
|
48
|
+
case 'MM':
|
|
49
|
+
return numberNoun + ' jar';
|
|
50
|
+
case 'yy':
|
|
51
|
+
return numberNoun + ' DIS';
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function numberAsNoun(number) {
|
|
56
|
+
var hundred = Math.floor((number % 1000) / 100),
|
|
57
|
+
ten = Math.floor((number % 100) / 10),
|
|
58
|
+
one = number % 10,
|
|
59
|
+
word = '';
|
|
60
|
+
if (hundred > 0) {
|
|
61
|
+
word += numbersNouns[hundred] + 'vatlh';
|
|
62
|
+
}
|
|
63
|
+
if (ten > 0) {
|
|
64
|
+
word += ((word !== '') ? ' ' : '') + numbersNouns[ten] + 'maH';
|
|
65
|
+
}
|
|
66
|
+
if (one > 0) {
|
|
67
|
+
word += ((word !== '') ? ' ' : '') + numbersNouns[one];
|
|
68
|
+
}
|
|
69
|
+
return (word === '') ? 'pagh' : word;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
var tlh = moment.defineLocale('tlh', {
|
|
73
|
+
months : 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'),
|
|
74
|
+
monthsShort : 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'),
|
|
75
|
+
monthsParseExact : true,
|
|
76
|
+
weekdays : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
|
77
|
+
weekdaysShort : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
|
78
|
+
weekdaysMin : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
|
79
|
+
longDateFormat : {
|
|
80
|
+
LT : 'HH:mm',
|
|
81
|
+
LTS : 'HH:mm:ss',
|
|
82
|
+
L : 'DD.MM.YYYY',
|
|
83
|
+
LL : 'D MMMM YYYY',
|
|
84
|
+
LLL : 'D MMMM YYYY HH:mm',
|
|
85
|
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
|
86
|
+
},
|
|
87
|
+
calendar : {
|
|
88
|
+
sameDay: '[DaHjaj] LT',
|
|
89
|
+
nextDay: '[wa’leS] LT',
|
|
90
|
+
nextWeek: 'LLL',
|
|
91
|
+
lastDay: '[wa’Hu’] LT',
|
|
92
|
+
lastWeek: 'LLL',
|
|
93
|
+
sameElse: 'L'
|
|
94
|
+
},
|
|
95
|
+
relativeTime : {
|
|
96
|
+
future : translateFuture,
|
|
97
|
+
past : translatePast,
|
|
98
|
+
s : 'puS lup',
|
|
99
|
+
m : 'wa’ tup',
|
|
100
|
+
mm : translate,
|
|
101
|
+
h : 'wa’ rep',
|
|
102
|
+
hh : translate,
|
|
103
|
+
d : 'wa’ jaj',
|
|
104
|
+
dd : translate,
|
|
105
|
+
M : 'wa’ jar',
|
|
106
|
+
MM : translate,
|
|
107
|
+
y : 'wa’ DIS',
|
|
108
|
+
yy : translate
|
|
109
|
+
},
|
|
110
|
+
ordinalParse: /\d{1,2}\./,
|
|
111
|
+
ordinal : '%d.',
|
|
112
|
+
week : {
|
|
113
|
+
dow : 1, // Monday is the first day of the week.
|
|
114
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
return tlh;
|
|
119
|
+
|
|
120
|
+
})));
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Turkish [tr]
|
|
3
|
+
//! authors : Erhan Gundogan : https://github.com/erhangundogan,
|
|
4
|
+
//! Burak Yiğit Kaya: https://github.com/BYK
|
|
5
|
+
|
|
6
|
+
;(function (global, factory) {
|
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
8
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
10
|
+
factory(global.moment)
|
|
11
|
+
}(this, (function (moment) { 'use strict';
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
var suffixes = {
|
|
15
|
+
1: '\'inci',
|
|
16
|
+
5: '\'inci',
|
|
17
|
+
8: '\'inci',
|
|
18
|
+
70: '\'inci',
|
|
19
|
+
80: '\'inci',
|
|
20
|
+
2: '\'nci',
|
|
21
|
+
7: '\'nci',
|
|
22
|
+
20: '\'nci',
|
|
23
|
+
50: '\'nci',
|
|
24
|
+
3: '\'üncü',
|
|
25
|
+
4: '\'üncü',
|
|
26
|
+
100: '\'üncü',
|
|
27
|
+
6: '\'ncı',
|
|
28
|
+
9: '\'uncu',
|
|
29
|
+
10: '\'uncu',
|
|
30
|
+
30: '\'uncu',
|
|
31
|
+
60: '\'ıncı',
|
|
32
|
+
90: '\'ıncı'
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
var tr = moment.defineLocale('tr', {
|
|
36
|
+
months : 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'),
|
|
37
|
+
monthsShort : 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
|
|
38
|
+
weekdays : 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'),
|
|
39
|
+
weekdaysShort : 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
|
|
40
|
+
weekdaysMin : 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
|
|
41
|
+
longDateFormat : {
|
|
42
|
+
LT : 'HH:mm',
|
|
43
|
+
LTS : 'HH:mm:ss',
|
|
44
|
+
L : 'DD.MM.YYYY',
|
|
45
|
+
LL : 'D MMMM YYYY',
|
|
46
|
+
LLL : 'D MMMM YYYY HH:mm',
|
|
47
|
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
|
48
|
+
},
|
|
49
|
+
calendar : {
|
|
50
|
+
sameDay : '[bugün saat] LT',
|
|
51
|
+
nextDay : '[yarın saat] LT',
|
|
52
|
+
nextWeek : '[haftaya] dddd [saat] LT',
|
|
53
|
+
lastDay : '[dün] LT',
|
|
54
|
+
lastWeek : '[geçen hafta] dddd [saat] LT',
|
|
55
|
+
sameElse : 'L'
|
|
56
|
+
},
|
|
57
|
+
relativeTime : {
|
|
58
|
+
future : '%s sonra',
|
|
59
|
+
past : '%s önce',
|
|
60
|
+
s : 'birkaç saniye',
|
|
61
|
+
m : 'bir dakika',
|
|
62
|
+
mm : '%d dakika',
|
|
63
|
+
h : 'bir saat',
|
|
64
|
+
hh : '%d saat',
|
|
65
|
+
d : 'bir gün',
|
|
66
|
+
dd : '%d gün',
|
|
67
|
+
M : 'bir ay',
|
|
68
|
+
MM : '%d ay',
|
|
69
|
+
y : 'bir yıl',
|
|
70
|
+
yy : '%d yıl'
|
|
71
|
+
},
|
|
72
|
+
ordinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,
|
|
73
|
+
ordinal : function (number) {
|
|
74
|
+
if (number === 0) { // special case for zero
|
|
75
|
+
return number + '\'ıncı';
|
|
76
|
+
}
|
|
77
|
+
var a = number % 10,
|
|
78
|
+
b = number % 100 - a,
|
|
79
|
+
c = number >= 100 ? 100 : null;
|
|
80
|
+
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
|
81
|
+
},
|
|
82
|
+
week : {
|
|
83
|
+
dow : 1, // Monday is the first day of the week.
|
|
84
|
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
return tr;
|
|
89
|
+
|
|
90
|
+
})));
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Talossan [tzl]
|
|
3
|
+
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
|
4
|
+
//! author : Iustì Canun
|
|
5
|
+
|
|
6
|
+
;(function (global, factory) {
|
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
8
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
10
|
+
factory(global.moment)
|
|
11
|
+
}(this, (function (moment) { 'use strict';
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
// After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
|
|
15
|
+
// This is currently too difficult (maybe even impossible) to add.
|
|
16
|
+
var tzl = moment.defineLocale('tzl', {
|
|
17
|
+
months : 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'),
|
|
18
|
+
monthsShort : 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
|
|
19
|
+
weekdays : 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
|
|
20
|
+
weekdaysShort : 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
|
|
21
|
+
weekdaysMin : 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
|
|
22
|
+
longDateFormat : {
|
|
23
|
+
LT : 'HH.mm',
|
|
24
|
+
LTS : 'HH.mm.ss',
|
|
25
|
+
L : 'DD.MM.YYYY',
|
|
26
|
+
LL : 'D. MMMM [dallas] YYYY',
|
|
27
|
+
LLL : 'D. MMMM [dallas] YYYY HH.mm',
|
|
28
|
+
LLLL : 'dddd, [li] D. MMMM [dallas] YYYY HH.mm'
|
|
29
|
+
},
|
|
30
|
+
meridiemParse: /d\'o|d\'a/i,
|
|
31
|
+
isPM : function (input) {
|
|
32
|
+
return 'd\'o' === input.toLowerCase();
|
|
33
|
+
},
|
|
34
|
+
meridiem : function (hours, minutes, isLower) {
|
|
35
|
+
if (hours > 11) {
|
|
36
|
+
return isLower ? 'd\'o' : 'D\'O';
|
|
37
|
+
} else {
|
|
38
|
+
return isLower ? 'd\'a' : 'D\'A';
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
calendar : {
|
|
42
|
+
sameDay : '[oxhi à] LT',
|
|
43
|
+
nextDay : '[demà à] LT',
|
|
44
|
+
nextWeek : 'dddd [à] LT',
|
|
45
|
+
lastDay : '[ieiri à] LT',
|
|
46
|
+
lastWeek : '[sür el] dddd [lasteu à] LT',
|
|
47
|
+
sameElse : 'L'
|
|
48
|
+
},
|
|
49
|
+
relativeTime : {
|
|
50
|
+
future : 'osprei %s',
|
|
51
|
+
past : 'ja%s',
|
|
52
|
+
s : processRelativeTime,
|
|
53
|
+
m : processRelativeTime,
|
|
54
|
+
mm : processRelativeTime,
|
|
55
|
+
h : processRelativeTime,
|
|
56
|
+
hh : processRelativeTime,
|
|
57
|
+
d : processRelativeTime,
|
|
58
|
+
dd : processRelativeTime,
|
|
59
|
+
M : processRelativeTime,
|
|
60
|
+
MM : processRelativeTime,
|
|
61
|
+
y : processRelativeTime,
|
|
62
|
+
yy : processRelativeTime
|
|
63
|
+
},
|
|
64
|
+
ordinalParse: /\d{1,2}\./,
|
|
65
|
+
ordinal : '%d.',
|
|
66
|
+
week : {
|
|
67
|
+
dow : 1, // Monday is the first day of the week.
|
|
68
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
|
73
|
+
var format = {
|
|
74
|
+
's': ['viensas secunds', '\'iensas secunds'],
|
|
75
|
+
'm': ['\'n míut', '\'iens míut'],
|
|
76
|
+
'mm': [number + ' míuts', '' + number + ' míuts'],
|
|
77
|
+
'h': ['\'n þora', '\'iensa þora'],
|
|
78
|
+
'hh': [number + ' þoras', '' + number + ' þoras'],
|
|
79
|
+
'd': ['\'n ziua', '\'iensa ziua'],
|
|
80
|
+
'dd': [number + ' ziuas', '' + number + ' ziuas'],
|
|
81
|
+
'M': ['\'n mes', '\'iens mes'],
|
|
82
|
+
'MM': [number + ' mesen', '' + number + ' mesen'],
|
|
83
|
+
'y': ['\'n ar', '\'iens ar'],
|
|
84
|
+
'yy': [number + ' ars', '' + number + ' ars']
|
|
85
|
+
};
|
|
86
|
+
return isFuture ? format[key][0] : (withoutSuffix ? format[key][0] : format[key][1]);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return tzl;
|
|
90
|
+
|
|
91
|
+
})));
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Central Atlas Tamazight Latin [tzm-latn]
|
|
3
|
+
//! author : Abdel Said : https://github.com/abdelsaid
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var tzmLatn = moment.defineLocale('tzm-latn', {
|
|
14
|
+
months : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
|
|
15
|
+
monthsShort : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
|
|
16
|
+
weekdays : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
|
17
|
+
weekdaysShort : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
|
18
|
+
weekdaysMin : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
|
19
|
+
longDateFormat : {
|
|
20
|
+
LT : 'HH:mm',
|
|
21
|
+
LTS : 'HH:mm:ss',
|
|
22
|
+
L : 'DD/MM/YYYY',
|
|
23
|
+
LL : 'D MMMM YYYY',
|
|
24
|
+
LLL : 'D MMMM YYYY HH:mm',
|
|
25
|
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
|
26
|
+
},
|
|
27
|
+
calendar : {
|
|
28
|
+
sameDay: '[asdkh g] LT',
|
|
29
|
+
nextDay: '[aska g] LT',
|
|
30
|
+
nextWeek: 'dddd [g] LT',
|
|
31
|
+
lastDay: '[assant g] LT',
|
|
32
|
+
lastWeek: 'dddd [g] LT',
|
|
33
|
+
sameElse: 'L'
|
|
34
|
+
},
|
|
35
|
+
relativeTime : {
|
|
36
|
+
future : 'dadkh s yan %s',
|
|
37
|
+
past : 'yan %s',
|
|
38
|
+
s : 'imik',
|
|
39
|
+
m : 'minuḍ',
|
|
40
|
+
mm : '%d minuḍ',
|
|
41
|
+
h : 'saɛa',
|
|
42
|
+
hh : '%d tassaɛin',
|
|
43
|
+
d : 'ass',
|
|
44
|
+
dd : '%d ossan',
|
|
45
|
+
M : 'ayowr',
|
|
46
|
+
MM : '%d iyyirn',
|
|
47
|
+
y : 'asgas',
|
|
48
|
+
yy : '%d isgasn'
|
|
49
|
+
},
|
|
50
|
+
week : {
|
|
51
|
+
dow : 6, // Saturday is the first day of the week.
|
|
52
|
+
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
return tzmLatn;
|
|
57
|
+
|
|
58
|
+
})));
|