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,143 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Bosnian [bs]
|
|
3
|
+
//! author : Nedim Cholich : https://github.com/frontyard
|
|
4
|
+
//! based on (hr) translation by Bojan Marković
|
|
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
|
+
function translate(number, withoutSuffix, key) {
|
|
15
|
+
var result = number + ' ';
|
|
16
|
+
switch (key) {
|
|
17
|
+
case 'm':
|
|
18
|
+
return withoutSuffix ? 'jedna minuta' : 'jedne minute';
|
|
19
|
+
case 'mm':
|
|
20
|
+
if (number === 1) {
|
|
21
|
+
result += 'minuta';
|
|
22
|
+
} else if (number === 2 || number === 3 || number === 4) {
|
|
23
|
+
result += 'minute';
|
|
24
|
+
} else {
|
|
25
|
+
result += 'minuta';
|
|
26
|
+
}
|
|
27
|
+
return result;
|
|
28
|
+
case 'h':
|
|
29
|
+
return withoutSuffix ? 'jedan sat' : 'jednog sata';
|
|
30
|
+
case 'hh':
|
|
31
|
+
if (number === 1) {
|
|
32
|
+
result += 'sat';
|
|
33
|
+
} else if (number === 2 || number === 3 || number === 4) {
|
|
34
|
+
result += 'sata';
|
|
35
|
+
} else {
|
|
36
|
+
result += 'sati';
|
|
37
|
+
}
|
|
38
|
+
return result;
|
|
39
|
+
case 'dd':
|
|
40
|
+
if (number === 1) {
|
|
41
|
+
result += 'dan';
|
|
42
|
+
} else {
|
|
43
|
+
result += 'dana';
|
|
44
|
+
}
|
|
45
|
+
return result;
|
|
46
|
+
case 'MM':
|
|
47
|
+
if (number === 1) {
|
|
48
|
+
result += 'mjesec';
|
|
49
|
+
} else if (number === 2 || number === 3 || number === 4) {
|
|
50
|
+
result += 'mjeseca';
|
|
51
|
+
} else {
|
|
52
|
+
result += 'mjeseci';
|
|
53
|
+
}
|
|
54
|
+
return result;
|
|
55
|
+
case 'yy':
|
|
56
|
+
if (number === 1) {
|
|
57
|
+
result += 'godina';
|
|
58
|
+
} else if (number === 2 || number === 3 || number === 4) {
|
|
59
|
+
result += 'godine';
|
|
60
|
+
} else {
|
|
61
|
+
result += 'godina';
|
|
62
|
+
}
|
|
63
|
+
return result;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
var bs = moment.defineLocale('bs', {
|
|
68
|
+
months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'),
|
|
69
|
+
monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'),
|
|
70
|
+
monthsParseExact: true,
|
|
71
|
+
weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
|
|
72
|
+
weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
|
|
73
|
+
weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),
|
|
74
|
+
weekdaysParseExact : true,
|
|
75
|
+
longDateFormat : {
|
|
76
|
+
LT : 'H:mm',
|
|
77
|
+
LTS : 'H:mm:ss',
|
|
78
|
+
L : 'DD.MM.YYYY',
|
|
79
|
+
LL : 'D. MMMM YYYY',
|
|
80
|
+
LLL : 'D. MMMM YYYY H:mm',
|
|
81
|
+
LLLL : 'dddd, D. MMMM YYYY H:mm'
|
|
82
|
+
},
|
|
83
|
+
calendar : {
|
|
84
|
+
sameDay : '[danas u] LT',
|
|
85
|
+
nextDay : '[sutra u] LT',
|
|
86
|
+
nextWeek : function () {
|
|
87
|
+
switch (this.day()) {
|
|
88
|
+
case 0:
|
|
89
|
+
return '[u] [nedjelju] [u] LT';
|
|
90
|
+
case 3:
|
|
91
|
+
return '[u] [srijedu] [u] LT';
|
|
92
|
+
case 6:
|
|
93
|
+
return '[u] [subotu] [u] LT';
|
|
94
|
+
case 1:
|
|
95
|
+
case 2:
|
|
96
|
+
case 4:
|
|
97
|
+
case 5:
|
|
98
|
+
return '[u] dddd [u] LT';
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
lastDay : '[jučer u] LT',
|
|
102
|
+
lastWeek : function () {
|
|
103
|
+
switch (this.day()) {
|
|
104
|
+
case 0:
|
|
105
|
+
case 3:
|
|
106
|
+
return '[prošlu] dddd [u] LT';
|
|
107
|
+
case 6:
|
|
108
|
+
return '[prošle] [subote] [u] LT';
|
|
109
|
+
case 1:
|
|
110
|
+
case 2:
|
|
111
|
+
case 4:
|
|
112
|
+
case 5:
|
|
113
|
+
return '[prošli] dddd [u] LT';
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
sameElse : 'L'
|
|
117
|
+
},
|
|
118
|
+
relativeTime : {
|
|
119
|
+
future : 'za %s',
|
|
120
|
+
past : 'prije %s',
|
|
121
|
+
s : 'par sekundi',
|
|
122
|
+
m : translate,
|
|
123
|
+
mm : translate,
|
|
124
|
+
h : translate,
|
|
125
|
+
hh : translate,
|
|
126
|
+
d : 'dan',
|
|
127
|
+
dd : translate,
|
|
128
|
+
M : 'mjesec',
|
|
129
|
+
MM : translate,
|
|
130
|
+
y : 'godinu',
|
|
131
|
+
yy : translate
|
|
132
|
+
},
|
|
133
|
+
ordinalParse: /\d{1,2}\./,
|
|
134
|
+
ordinal : '%d.',
|
|
135
|
+
week : {
|
|
136
|
+
dow : 1, // Monday is the first day of the week.
|
|
137
|
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
return bs;
|
|
142
|
+
|
|
143
|
+
})));
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Catalan [ca]
|
|
3
|
+
//! author : Juan G. Hurtado : https://github.com/juanghurtado
|
|
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 ca = moment.defineLocale('ca', {
|
|
14
|
+
months : 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'),
|
|
15
|
+
monthsShort : 'gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.'.split('_'),
|
|
16
|
+
monthsParseExact : true,
|
|
17
|
+
weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'),
|
|
18
|
+
weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
|
|
19
|
+
weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'),
|
|
20
|
+
weekdaysParseExact : true,
|
|
21
|
+
longDateFormat : {
|
|
22
|
+
LT : 'H:mm',
|
|
23
|
+
LTS : 'H:mm:ss',
|
|
24
|
+
L : 'DD/MM/YYYY',
|
|
25
|
+
LL : 'D MMMM YYYY',
|
|
26
|
+
LLL : 'D MMMM YYYY H:mm',
|
|
27
|
+
LLLL : 'dddd D MMMM YYYY H:mm'
|
|
28
|
+
},
|
|
29
|
+
calendar : {
|
|
30
|
+
sameDay : function () {
|
|
31
|
+
return '[avui a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
|
32
|
+
},
|
|
33
|
+
nextDay : function () {
|
|
34
|
+
return '[demà a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
|
35
|
+
},
|
|
36
|
+
nextWeek : function () {
|
|
37
|
+
return 'dddd [a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
|
38
|
+
},
|
|
39
|
+
lastDay : function () {
|
|
40
|
+
return '[ahir a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
|
41
|
+
},
|
|
42
|
+
lastWeek : function () {
|
|
43
|
+
return '[el] dddd [passat a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
|
44
|
+
},
|
|
45
|
+
sameElse : 'L'
|
|
46
|
+
},
|
|
47
|
+
relativeTime : {
|
|
48
|
+
future : 'd\'aquí %s',
|
|
49
|
+
past : 'fa %s',
|
|
50
|
+
s : 'uns segons',
|
|
51
|
+
m : 'un minut',
|
|
52
|
+
mm : '%d minuts',
|
|
53
|
+
h : 'una hora',
|
|
54
|
+
hh : '%d hores',
|
|
55
|
+
d : 'un dia',
|
|
56
|
+
dd : '%d dies',
|
|
57
|
+
M : 'un mes',
|
|
58
|
+
MM : '%d mesos',
|
|
59
|
+
y : 'un any',
|
|
60
|
+
yy : '%d anys'
|
|
61
|
+
},
|
|
62
|
+
ordinalParse: /\d{1,2}(r|n|t|è|a)/,
|
|
63
|
+
ordinal : function (number, period) {
|
|
64
|
+
var output = (number === 1) ? 'r' :
|
|
65
|
+
(number === 2) ? 'n' :
|
|
66
|
+
(number === 3) ? 'r' :
|
|
67
|
+
(number === 4) ? 't' : 'è';
|
|
68
|
+
if (period === 'w' || period === 'W') {
|
|
69
|
+
output = 'a';
|
|
70
|
+
}
|
|
71
|
+
return number + output;
|
|
72
|
+
},
|
|
73
|
+
week : {
|
|
74
|
+
dow : 1, // Monday is the first day of the week.
|
|
75
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
return ca;
|
|
80
|
+
|
|
81
|
+
})));
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Czech [cs]
|
|
3
|
+
//! author : petrbela : https://github.com/petrbela
|
|
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 months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_');
|
|
14
|
+
var monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_');
|
|
15
|
+
function plural(n) {
|
|
16
|
+
return (n > 1) && (n < 5) && (~~(n / 10) !== 1);
|
|
17
|
+
}
|
|
18
|
+
function translate(number, withoutSuffix, key, isFuture) {
|
|
19
|
+
var result = number + ' ';
|
|
20
|
+
switch (key) {
|
|
21
|
+
case 's': // a few seconds / in a few seconds / a few seconds ago
|
|
22
|
+
return (withoutSuffix || isFuture) ? 'pár sekund' : 'pár sekundami';
|
|
23
|
+
case 'm': // a minute / in a minute / a minute ago
|
|
24
|
+
return withoutSuffix ? 'minuta' : (isFuture ? 'minutu' : 'minutou');
|
|
25
|
+
case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
|
|
26
|
+
if (withoutSuffix || isFuture) {
|
|
27
|
+
return result + (plural(number) ? 'minuty' : 'minut');
|
|
28
|
+
} else {
|
|
29
|
+
return result + 'minutami';
|
|
30
|
+
}
|
|
31
|
+
break;
|
|
32
|
+
case 'h': // an hour / in an hour / an hour ago
|
|
33
|
+
return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou');
|
|
34
|
+
case 'hh': // 9 hours / in 9 hours / 9 hours ago
|
|
35
|
+
if (withoutSuffix || isFuture) {
|
|
36
|
+
return result + (plural(number) ? 'hodiny' : 'hodin');
|
|
37
|
+
} else {
|
|
38
|
+
return result + 'hodinami';
|
|
39
|
+
}
|
|
40
|
+
break;
|
|
41
|
+
case 'd': // a day / in a day / a day ago
|
|
42
|
+
return (withoutSuffix || isFuture) ? 'den' : 'dnem';
|
|
43
|
+
case 'dd': // 9 days / in 9 days / 9 days ago
|
|
44
|
+
if (withoutSuffix || isFuture) {
|
|
45
|
+
return result + (plural(number) ? 'dny' : 'dní');
|
|
46
|
+
} else {
|
|
47
|
+
return result + 'dny';
|
|
48
|
+
}
|
|
49
|
+
break;
|
|
50
|
+
case 'M': // a month / in a month / a month ago
|
|
51
|
+
return (withoutSuffix || isFuture) ? 'měsíc' : 'měsícem';
|
|
52
|
+
case 'MM': // 9 months / in 9 months / 9 months ago
|
|
53
|
+
if (withoutSuffix || isFuture) {
|
|
54
|
+
return result + (plural(number) ? 'měsíce' : 'měsíců');
|
|
55
|
+
} else {
|
|
56
|
+
return result + 'měsíci';
|
|
57
|
+
}
|
|
58
|
+
break;
|
|
59
|
+
case 'y': // a year / in a year / a year ago
|
|
60
|
+
return (withoutSuffix || isFuture) ? 'rok' : 'rokem';
|
|
61
|
+
case 'yy': // 9 years / in 9 years / 9 years ago
|
|
62
|
+
if (withoutSuffix || isFuture) {
|
|
63
|
+
return result + (plural(number) ? 'roky' : 'let');
|
|
64
|
+
} else {
|
|
65
|
+
return result + 'lety';
|
|
66
|
+
}
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
var cs = moment.defineLocale('cs', {
|
|
72
|
+
months : months,
|
|
73
|
+
monthsShort : monthsShort,
|
|
74
|
+
monthsParse : (function (months, monthsShort) {
|
|
75
|
+
var i, _monthsParse = [];
|
|
76
|
+
for (i = 0; i < 12; i++) {
|
|
77
|
+
// use custom parser to solve problem with July (červenec)
|
|
78
|
+
_monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i');
|
|
79
|
+
}
|
|
80
|
+
return _monthsParse;
|
|
81
|
+
}(months, monthsShort)),
|
|
82
|
+
shortMonthsParse : (function (monthsShort) {
|
|
83
|
+
var i, _shortMonthsParse = [];
|
|
84
|
+
for (i = 0; i < 12; i++) {
|
|
85
|
+
_shortMonthsParse[i] = new RegExp('^' + monthsShort[i] + '$', 'i');
|
|
86
|
+
}
|
|
87
|
+
return _shortMonthsParse;
|
|
88
|
+
}(monthsShort)),
|
|
89
|
+
longMonthsParse : (function (months) {
|
|
90
|
+
var i, _longMonthsParse = [];
|
|
91
|
+
for (i = 0; i < 12; i++) {
|
|
92
|
+
_longMonthsParse[i] = new RegExp('^' + months[i] + '$', 'i');
|
|
93
|
+
}
|
|
94
|
+
return _longMonthsParse;
|
|
95
|
+
}(months)),
|
|
96
|
+
weekdays : 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
|
|
97
|
+
weekdaysShort : 'ne_po_út_st_čt_pá_so'.split('_'),
|
|
98
|
+
weekdaysMin : 'ne_po_út_st_čt_pá_so'.split('_'),
|
|
99
|
+
longDateFormat : {
|
|
100
|
+
LT: 'H:mm',
|
|
101
|
+
LTS : 'H:mm:ss',
|
|
102
|
+
L : 'DD.MM.YYYY',
|
|
103
|
+
LL : 'D. MMMM YYYY',
|
|
104
|
+
LLL : 'D. MMMM YYYY H:mm',
|
|
105
|
+
LLLL : 'dddd D. MMMM YYYY H:mm',
|
|
106
|
+
l : 'D. M. YYYY'
|
|
107
|
+
},
|
|
108
|
+
calendar : {
|
|
109
|
+
sameDay: '[dnes v] LT',
|
|
110
|
+
nextDay: '[zítra v] LT',
|
|
111
|
+
nextWeek: function () {
|
|
112
|
+
switch (this.day()) {
|
|
113
|
+
case 0:
|
|
114
|
+
return '[v neděli v] LT';
|
|
115
|
+
case 1:
|
|
116
|
+
case 2:
|
|
117
|
+
return '[v] dddd [v] LT';
|
|
118
|
+
case 3:
|
|
119
|
+
return '[ve středu v] LT';
|
|
120
|
+
case 4:
|
|
121
|
+
return '[ve čtvrtek v] LT';
|
|
122
|
+
case 5:
|
|
123
|
+
return '[v pátek v] LT';
|
|
124
|
+
case 6:
|
|
125
|
+
return '[v sobotu v] LT';
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
lastDay: '[včera v] LT',
|
|
129
|
+
lastWeek: function () {
|
|
130
|
+
switch (this.day()) {
|
|
131
|
+
case 0:
|
|
132
|
+
return '[minulou neděli v] LT';
|
|
133
|
+
case 1:
|
|
134
|
+
case 2:
|
|
135
|
+
return '[minulé] dddd [v] LT';
|
|
136
|
+
case 3:
|
|
137
|
+
return '[minulou středu v] LT';
|
|
138
|
+
case 4:
|
|
139
|
+
case 5:
|
|
140
|
+
return '[minulý] dddd [v] LT';
|
|
141
|
+
case 6:
|
|
142
|
+
return '[minulou sobotu v] LT';
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
sameElse: 'L'
|
|
146
|
+
},
|
|
147
|
+
relativeTime : {
|
|
148
|
+
future : 'za %s',
|
|
149
|
+
past : 'před %s',
|
|
150
|
+
s : translate,
|
|
151
|
+
m : translate,
|
|
152
|
+
mm : translate,
|
|
153
|
+
h : translate,
|
|
154
|
+
hh : translate,
|
|
155
|
+
d : translate,
|
|
156
|
+
dd : translate,
|
|
157
|
+
M : translate,
|
|
158
|
+
MM : translate,
|
|
159
|
+
y : translate,
|
|
160
|
+
yy : translate
|
|
161
|
+
},
|
|
162
|
+
ordinalParse : /\d{1,2}\./,
|
|
163
|
+
ordinal : '%d.',
|
|
164
|
+
week : {
|
|
165
|
+
dow : 1, // Monday is the first day of the week.
|
|
166
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
return cs;
|
|
171
|
+
|
|
172
|
+
})));
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Chuvash [cv]
|
|
3
|
+
//! author : Anatoly Mironov : https://github.com/mirontoli
|
|
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 cv = moment.defineLocale('cv', {
|
|
14
|
+
months : 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'),
|
|
15
|
+
monthsShort : 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
|
|
16
|
+
weekdays : 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'),
|
|
17
|
+
weekdaysShort : 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
|
|
18
|
+
weekdaysMin : 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
|
|
19
|
+
longDateFormat : {
|
|
20
|
+
LT : 'HH:mm',
|
|
21
|
+
LTS : 'HH:mm:ss',
|
|
22
|
+
L : 'DD-MM-YYYY',
|
|
23
|
+
LL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
|
|
24
|
+
LLL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
|
|
25
|
+
LLLL : 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm'
|
|
26
|
+
},
|
|
27
|
+
calendar : {
|
|
28
|
+
sameDay: '[Паян] LT [сехетре]',
|
|
29
|
+
nextDay: '[Ыран] LT [сехетре]',
|
|
30
|
+
lastDay: '[Ӗнер] LT [сехетре]',
|
|
31
|
+
nextWeek: '[Ҫитес] dddd LT [сехетре]',
|
|
32
|
+
lastWeek: '[Иртнӗ] dddd LT [сехетре]',
|
|
33
|
+
sameElse: 'L'
|
|
34
|
+
},
|
|
35
|
+
relativeTime : {
|
|
36
|
+
future : function (output) {
|
|
37
|
+
var affix = /сехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) ? 'тан' : 'ран';
|
|
38
|
+
return output + affix;
|
|
39
|
+
},
|
|
40
|
+
past : '%s каялла',
|
|
41
|
+
s : 'пӗр-ик ҫеккунт',
|
|
42
|
+
m : 'пӗр минут',
|
|
43
|
+
mm : '%d минут',
|
|
44
|
+
h : 'пӗр сехет',
|
|
45
|
+
hh : '%d сехет',
|
|
46
|
+
d : 'пӗр кун',
|
|
47
|
+
dd : '%d кун',
|
|
48
|
+
M : 'пӗр уйӑх',
|
|
49
|
+
MM : '%d уйӑх',
|
|
50
|
+
y : 'пӗр ҫул',
|
|
51
|
+
yy : '%d ҫул'
|
|
52
|
+
},
|
|
53
|
+
ordinalParse: /\d{1,2}-мӗш/,
|
|
54
|
+
ordinal : '%d-мӗш',
|
|
55
|
+
week : {
|
|
56
|
+
dow : 1, // Monday is the first day of the week.
|
|
57
|
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
return cv;
|
|
62
|
+
|
|
63
|
+
})));
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Welsh [cy]
|
|
3
|
+
//! author : Robert Allen : https://github.com/robgallen
|
|
4
|
+
//! author : https://github.com/ryangreaves
|
|
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 cy = moment.defineLocale('cy', {
|
|
15
|
+
months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'),
|
|
16
|
+
monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'),
|
|
17
|
+
weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'),
|
|
18
|
+
weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
|
|
19
|
+
weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
|
|
20
|
+
weekdaysParseExact : true,
|
|
21
|
+
// time formats are the same as en-gb
|
|
22
|
+
longDateFormat: {
|
|
23
|
+
LT: 'HH:mm',
|
|
24
|
+
LTS : 'HH:mm:ss',
|
|
25
|
+
L: 'DD/MM/YYYY',
|
|
26
|
+
LL: 'D MMMM YYYY',
|
|
27
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
28
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm'
|
|
29
|
+
},
|
|
30
|
+
calendar: {
|
|
31
|
+
sameDay: '[Heddiw am] LT',
|
|
32
|
+
nextDay: '[Yfory am] LT',
|
|
33
|
+
nextWeek: 'dddd [am] LT',
|
|
34
|
+
lastDay: '[Ddoe am] LT',
|
|
35
|
+
lastWeek: 'dddd [diwethaf am] LT',
|
|
36
|
+
sameElse: 'L'
|
|
37
|
+
},
|
|
38
|
+
relativeTime: {
|
|
39
|
+
future: 'mewn %s',
|
|
40
|
+
past: '%s yn ôl',
|
|
41
|
+
s: 'ychydig eiliadau',
|
|
42
|
+
m: 'munud',
|
|
43
|
+
mm: '%d munud',
|
|
44
|
+
h: 'awr',
|
|
45
|
+
hh: '%d awr',
|
|
46
|
+
d: 'diwrnod',
|
|
47
|
+
dd: '%d diwrnod',
|
|
48
|
+
M: 'mis',
|
|
49
|
+
MM: '%d mis',
|
|
50
|
+
y: 'blwyddyn',
|
|
51
|
+
yy: '%d flynedd'
|
|
52
|
+
},
|
|
53
|
+
ordinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
|
|
54
|
+
// traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
|
|
55
|
+
ordinal: function (number) {
|
|
56
|
+
var b = number,
|
|
57
|
+
output = '',
|
|
58
|
+
lookup = [
|
|
59
|
+
'', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', // 1af to 10fed
|
|
60
|
+
'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed' // 11eg to 20fed
|
|
61
|
+
];
|
|
62
|
+
if (b > 20) {
|
|
63
|
+
if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
|
|
64
|
+
output = 'fed'; // not 30ain, 70ain or 90ain
|
|
65
|
+
} else {
|
|
66
|
+
output = 'ain';
|
|
67
|
+
}
|
|
68
|
+
} else if (b > 0) {
|
|
69
|
+
output = lookup[b];
|
|
70
|
+
}
|
|
71
|
+
return number + output;
|
|
72
|
+
},
|
|
73
|
+
week : {
|
|
74
|
+
dow : 1, // Monday is the first day of the week.
|
|
75
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
return cy;
|
|
80
|
+
|
|
81
|
+
})));
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Danish [da]
|
|
3
|
+
//! author : Ulrik Nielsen : https://github.com/mrbase
|
|
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 da = moment.defineLocale('da', {
|
|
14
|
+
months : 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'),
|
|
15
|
+
monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
|
|
16
|
+
weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
|
|
17
|
+
weekdaysShort : 'søn_man_tir_ons_tor_fre_lør'.split('_'),
|
|
18
|
+
weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.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.] D. MMMM YYYY HH:mm'
|
|
26
|
+
},
|
|
27
|
+
calendar : {
|
|
28
|
+
sameDay : '[I dag kl.] LT',
|
|
29
|
+
nextDay : '[I morgen kl.] LT',
|
|
30
|
+
nextWeek : 'dddd [kl.] LT',
|
|
31
|
+
lastDay : '[I går kl.] LT',
|
|
32
|
+
lastWeek : '[sidste] dddd [kl] LT',
|
|
33
|
+
sameElse : 'L'
|
|
34
|
+
},
|
|
35
|
+
relativeTime : {
|
|
36
|
+
future : 'om %s',
|
|
37
|
+
past : '%s siden',
|
|
38
|
+
s : 'få sekunder',
|
|
39
|
+
m : 'et minut',
|
|
40
|
+
mm : '%d minutter',
|
|
41
|
+
h : 'en time',
|
|
42
|
+
hh : '%d timer',
|
|
43
|
+
d : 'en dag',
|
|
44
|
+
dd : '%d dage',
|
|
45
|
+
M : 'en måned',
|
|
46
|
+
MM : '%d måneder',
|
|
47
|
+
y : 'et år',
|
|
48
|
+
yy : '%d år'
|
|
49
|
+
},
|
|
50
|
+
ordinalParse: /\d{1,2}\./,
|
|
51
|
+
ordinal : '%d.',
|
|
52
|
+
week : {
|
|
53
|
+
dow : 1, // Monday is the first day of the week.
|
|
54
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
return da;
|
|
59
|
+
|
|
60
|
+
})));
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : German (Austria) [de-at]
|
|
3
|
+
//! author : lluchs : https://github.com/lluchs
|
|
4
|
+
//! author: Menelion Elensúle: https://github.com/Oire
|
|
5
|
+
//! author : Martin Groller : https://github.com/MadMG
|
|
6
|
+
//! author : Mikolaj Dadela : https://github.com/mik01aj
|
|
7
|
+
|
|
8
|
+
;(function (global, factory) {
|
|
9
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
10
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
11
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
12
|
+
factory(global.moment)
|
|
13
|
+
}(this, (function (moment) { 'use strict';
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
|
17
|
+
var format = {
|
|
18
|
+
'm': ['eine Minute', 'einer Minute'],
|
|
19
|
+
'h': ['eine Stunde', 'einer Stunde'],
|
|
20
|
+
'd': ['ein Tag', 'einem Tag'],
|
|
21
|
+
'dd': [number + ' Tage', number + ' Tagen'],
|
|
22
|
+
'M': ['ein Monat', 'einem Monat'],
|
|
23
|
+
'MM': [number + ' Monate', number + ' Monaten'],
|
|
24
|
+
'y': ['ein Jahr', 'einem Jahr'],
|
|
25
|
+
'yy': [number + ' Jahre', number + ' Jahren']
|
|
26
|
+
};
|
|
27
|
+
return withoutSuffix ? format[key][0] : format[key][1];
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var deAt = moment.defineLocale('de-at', {
|
|
31
|
+
months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
|
|
32
|
+
monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
|
|
33
|
+
monthsParseExact : true,
|
|
34
|
+
weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
|
|
35
|
+
weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
|
|
36
|
+
weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
|
|
37
|
+
weekdaysParseExact : true,
|
|
38
|
+
longDateFormat : {
|
|
39
|
+
LT: 'HH:mm',
|
|
40
|
+
LTS: 'HH:mm:ss',
|
|
41
|
+
L : 'DD.MM.YYYY',
|
|
42
|
+
LL : 'D. MMMM YYYY',
|
|
43
|
+
LLL : 'D. MMMM YYYY HH:mm',
|
|
44
|
+
LLLL : 'dddd, D. MMMM YYYY HH:mm'
|
|
45
|
+
},
|
|
46
|
+
calendar : {
|
|
47
|
+
sameDay: '[heute um] LT [Uhr]',
|
|
48
|
+
sameElse: 'L',
|
|
49
|
+
nextDay: '[morgen um] LT [Uhr]',
|
|
50
|
+
nextWeek: 'dddd [um] LT [Uhr]',
|
|
51
|
+
lastDay: '[gestern um] LT [Uhr]',
|
|
52
|
+
lastWeek: '[letzten] dddd [um] LT [Uhr]'
|
|
53
|
+
},
|
|
54
|
+
relativeTime : {
|
|
55
|
+
future : 'in %s',
|
|
56
|
+
past : 'vor %s',
|
|
57
|
+
s : 'ein paar Sekunden',
|
|
58
|
+
m : processRelativeTime,
|
|
59
|
+
mm : '%d Minuten',
|
|
60
|
+
h : processRelativeTime,
|
|
61
|
+
hh : '%d Stunden',
|
|
62
|
+
d : processRelativeTime,
|
|
63
|
+
dd : processRelativeTime,
|
|
64
|
+
M : processRelativeTime,
|
|
65
|
+
MM : processRelativeTime,
|
|
66
|
+
y : processRelativeTime,
|
|
67
|
+
yy : processRelativeTime
|
|
68
|
+
},
|
|
69
|
+
ordinalParse: /\d{1,2}\./,
|
|
70
|
+
ordinal : '%d.',
|
|
71
|
+
week : {
|
|
72
|
+
dow : 1, // Monday is the first day of the week.
|
|
73
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
return deAt;
|
|
78
|
+
|
|
79
|
+
})));
|