You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
2.3 KiB
80 lines
2.3 KiB
1 year ago
|
!(function (e, n) {
|
||
|
if ('object' == typeof exports && 'undefined' != typeof module) {
|
||
|
module.exports = n(require('dayjs'));
|
||
|
} else {
|
||
|
if ('function' == typeof define && define.amd) {
|
||
|
define(['dayjs'], n);
|
||
|
} else {
|
||
|
(e = 'undefined' != typeof globalThis ? globalThis : e || self).dayjs_locale_de_at = n(e.dayjs);
|
||
|
}
|
||
|
}
|
||
|
})(this, function (e) {
|
||
|
'use strict';
|
||
|
|
||
|
function n(e) {
|
||
|
return e && 'object' == typeof e && 'default' in e
|
||
|
? e
|
||
|
: {
|
||
|
default: e
|
||
|
};
|
||
|
}
|
||
|
var t = n(e);
|
||
|
var i = {
|
||
|
s: 'ein paar Sekunden',
|
||
|
m: ['eine Minute', 'einer Minute'],
|
||
|
mm: '%d Minuten',
|
||
|
h: ['eine Stunde', 'einer Stunde'],
|
||
|
hh: '%d Stunden',
|
||
|
d: ['ein Tag', 'einem Tag'],
|
||
|
dd: ['%d Tage', '%d Tagen'],
|
||
|
M: ['ein Monat', 'einem Monat'],
|
||
|
MM: ['%d Monate', '%d Monaten'],
|
||
|
y: ['ein Jahr', 'einem Jahr'],
|
||
|
yy: ['%d Jahre', '%d Jahren']
|
||
|
};
|
||
|
function a(e, n, t) {
|
||
|
var a = i[t];
|
||
|
if (Array.isArray(a)) {
|
||
|
a = a[n ? 0 : 1];
|
||
|
}
|
||
|
return a.replace('%d', e);
|
||
|
}
|
||
|
var r = {
|
||
|
name: 'de-at',
|
||
|
weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
|
||
|
weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
|
||
|
weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
|
||
|
months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
|
||
|
monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
|
||
|
ordinal: function (e) {
|
||
|
return e + '.';
|
||
|
},
|
||
|
weekStart: 1,
|
||
|
formats: {
|
||
|
LTS: 'HH:mm:ss',
|
||
|
LT: 'HH:mm',
|
||
|
L: 'DD.MM.YYYY',
|
||
|
LL: 'D. MMMM YYYY',
|
||
|
LLL: 'D. MMMM YYYY HH:mm',
|
||
|
LLLL: 'dddd, D. MMMM YYYY HH:mm'
|
||
|
},
|
||
|
relativeTime: {
|
||
|
future: 'in %s',
|
||
|
past: 'vor %s',
|
||
|
s: a,
|
||
|
m: a,
|
||
|
mm: a,
|
||
|
h: a,
|
||
|
hh: a,
|
||
|
d: a,
|
||
|
dd: a,
|
||
|
M: a,
|
||
|
MM: a,
|
||
|
y: a,
|
||
|
yy: a
|
||
|
}
|
||
|
};
|
||
|
t.default.locale(r, null, true);
|
||
|
return r;
|
||
|
});
|