39 lines
1.0 KiB
JavaScript
39 lines
1.0 KiB
JavaScript
|
// German [de]
|
||
|
import dayjs from '../index';
|
||
|
var locale = {
|
||
|
name: 'de',
|
||
|
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: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
|
||
|
monthsShort: 'Jan_Feb_März_Apr_Mai_Juni_Juli_Aug_Sept_Okt_Nov_Dez'.split('_'),
|
||
|
ordinal: function ordinal(n) {
|
||
|
return n + ".";
|
||
|
},
|
||
|
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: 'wenigen Sekunden',
|
||
|
m: 'einer Minute',
|
||
|
mm: '%d Minuten',
|
||
|
h: 'einer Stunde',
|
||
|
hh: '%d Stunden',
|
||
|
d: 'einem Tag',
|
||
|
dd: '%d Tagen',
|
||
|
M: 'einem Monat',
|
||
|
MM: '%d Monaten',
|
||
|
y: 'einem Jahr',
|
||
|
yy: '%d Jahren'
|
||
|
}
|
||
|
};
|
||
|
dayjs.locale(locale, null, true);
|
||
|
export default locale;
|