1 //! moment.js locale configuration
2 //! locale : German [de]
3 //! author : lluchs : https://github.com/lluchs
4 //! author: Menelion Elensúle: https://github.com/Oire
5 //! author : Mikolaj Dadela : https://github.com/mik01aj
7 ;(function (global, factory) {
8 typeof exports === 'object' && typeof module !== 'undefined'
9 && typeof require === 'function' ? factory(require('../moment')) :
10 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
11 factory(global.moment)
12 }(this, (function (moment) { 'use strict';
14 //! moment.js locale configuration
16 function processRelativeTime(number, withoutSuffix, key, isFuture) {
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'],
27 return withoutSuffix ? format[key][0] : format[key][1];
30 var de = moment.defineLocale('de', {
31 months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
34 monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
37 monthsParseExact: true,
38 weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
41 weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
42 weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
43 weekdaysParseExact: true,
49 LLL: 'D. MMMM YYYY HH:mm',
50 LLLL: 'dddd, D. MMMM YYYY HH:mm',
53 sameDay: '[heute um] LT [Uhr]',
55 nextDay: '[morgen um] LT [Uhr]',
56 nextWeek: 'dddd [um] LT [Uhr]',
57 lastDay: '[gestern um] LT [Uhr]',
58 lastWeek: '[letzten] dddd [um] LT [Uhr]',
63 s: 'ein paar Sekunden',
65 m: processRelativeTime,
67 h: processRelativeTime,
69 d: processRelativeTime,
70 dd: processRelativeTime,
71 M: processRelativeTime,
72 MM: processRelativeTime,
73 y: processRelativeTime,
74 yy: processRelativeTime,
76 dayOfMonthOrdinalParse: /\d{1,2}\./,
79 dow: 1, // Monday is the first day of the week.
80 doy: 4, // The week that contains Jan 4th is the first week of the year.