2016-02-05 15:42:48 -05:00
|
|
|
//! moment.js locale configuration
|
2020-11-10 20:34:26 -05:00
|
|
|
//! locale : German [de]
|
|
|
|
//! author : lluchs : https://github.com/lluchs
|
|
|
|
//! author: Menelion Elensúle: https://github.com/Oire
|
|
|
|
//! author : Mikolaj Dadela : https://github.com/mik01aj
|
2016-02-05 15:42:48 -05:00
|
|
|
|
|
|
|
;(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
2017-04-20 00:24:20 -04:00
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
2016-02-05 15:42:48 -05:00
|
|
|
factory(global.moment)
|
2017-04-20 00:24:20 -04:00
|
|
|
}(this, (function (moment) { 'use strict';
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2020-11-10 20:34:26 -05:00
|
|
|
//! moment.js locale configuration
|
2013-06-07 04:03:09 -04:00
|
|
|
|
2018-04-26 03:15:53 -04:00
|
|
|
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
|
|
|
var format = {
|
2020-11-10 20:34:26 -05:00
|
|
|
m: ['eine Minute', 'einer Minute'],
|
|
|
|
h: ['eine Stunde', 'einer Stunde'],
|
|
|
|
d: ['ein Tag', 'einem Tag'],
|
|
|
|
dd: [number + ' Tage', number + ' Tagen'],
|
|
|
|
w: ['eine Woche', 'einer Woche'],
|
|
|
|
M: ['ein Monat', 'einem Monat'],
|
|
|
|
MM: [number + ' Monate', number + ' Monaten'],
|
|
|
|
y: ['ein Jahr', 'einem Jahr'],
|
|
|
|
yy: [number + ' Jahre', number + ' Jahren'],
|
2018-04-26 03:15:53 -04:00
|
|
|
};
|
|
|
|
return withoutSuffix ? format[key][0] : format[key][1];
|
2017-04-20 00:24:20 -04:00
|
|
|
}
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2018-04-26 03:15:53 -04:00
|
|
|
var de = moment.defineLocale('de', {
|
2020-11-10 20:34:26 -05:00
|
|
|
months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
|
|
|
|
'_'
|
|
|
|
),
|
|
|
|
monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
|
|
|
|
'_'
|
|
|
|
),
|
|
|
|
monthsParseExact: true,
|
|
|
|
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('_'),
|
|
|
|
weekdaysParseExact: true,
|
|
|
|
longDateFormat: {
|
2018-04-26 03:15:53 -04:00
|
|
|
LT: 'HH:mm',
|
|
|
|
LTS: 'HH:mm:ss',
|
2020-11-10 20:34:26 -05:00
|
|
|
L: 'DD.MM.YYYY',
|
|
|
|
LL: 'D. MMMM YYYY',
|
|
|
|
LLL: 'D. MMMM YYYY HH:mm',
|
|
|
|
LLLL: 'dddd, D. MMMM YYYY HH:mm',
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
2020-11-10 20:34:26 -05:00
|
|
|
calendar: {
|
2018-04-26 03:15:53 -04:00
|
|
|
sameDay: '[heute um] LT [Uhr]',
|
|
|
|
sameElse: 'L',
|
|
|
|
nextDay: '[morgen um] LT [Uhr]',
|
|
|
|
nextWeek: 'dddd [um] LT [Uhr]',
|
|
|
|
lastDay: '[gestern um] LT [Uhr]',
|
2020-11-10 20:34:26 -05:00
|
|
|
lastWeek: '[letzten] dddd [um] LT [Uhr]',
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
2020-11-10 20:34:26 -05:00
|
|
|
relativeTime: {
|
|
|
|
future: 'in %s',
|
|
|
|
past: 'vor %s',
|
|
|
|
s: 'ein paar Sekunden',
|
|
|
|
ss: '%d Sekunden',
|
|
|
|
m: processRelativeTime,
|
|
|
|
mm: '%d Minuten',
|
|
|
|
h: processRelativeTime,
|
|
|
|
hh: '%d Stunden',
|
|
|
|
d: processRelativeTime,
|
|
|
|
dd: processRelativeTime,
|
|
|
|
w: processRelativeTime,
|
|
|
|
ww: '%d Wochen',
|
|
|
|
M: processRelativeTime,
|
|
|
|
MM: processRelativeTime,
|
|
|
|
y: processRelativeTime,
|
|
|
|
yy: processRelativeTime,
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
2020-11-10 20:34:26 -05:00
|
|
|
ordinal: '%d.',
|
|
|
|
week: {
|
|
|
|
dow: 1, // Monday is the first day of the week.
|
|
|
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
|
|
},
|
2018-04-26 03:15:53 -04:00
|
|
|
});
|
|
|
|
|
|
|
|
return de;
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2017-04-20 00:24:20 -04:00
|
|
|
})));
|