1 // moment.js language configuration
2 // language : german (de)
3 // author : lluchs : https://github.com/lluchs
4 // author: Menelion ElensĂșle: https://github.com/Oire
7 if (typeof define
=== 'function' && define
.amd
) {
8 define(['moment'], factory
); // AMD
9 } else if (typeof exports
=== 'object') {
10 module
.exports
= factory(require('../moment')); // Node
12 factory(window
.moment
); // Browser global
15 function processRelativeTime(number
, withoutSuffix
, key
, isFuture
) {
17 'm': ['eine Minute', 'einer Minute'],
18 'h': ['eine Stunde', 'einer Stunde'],
19 'd': ['ein Tag', 'einem Tag'],
20 'dd': [number
+ ' Tage', number
+ ' Tagen'],
21 'M': ['ein Monat', 'einem Monat'],
22 'MM': [number
+ ' Monate', number
+ ' Monaten'],
23 'y': ['ein Jahr', 'einem Jahr'],
24 'yy': [number
+ ' Jahre', number
+ ' Jahren']
26 return withoutSuffix
? format
[key
][0] : format
[key
][1];
29 return moment
.lang('de', {
30 months
: "Januar_Februar_MĂ€rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),
31 monthsShort
: "Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),
32 weekdays
: "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),
33 weekdaysShort
: "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),
34 weekdaysMin
: "So_Mo_Di_Mi_Do_Fr_Sa".split("_"),
39 LLL
: "D. MMMM YYYY LT",
40 LLLL
: "dddd, D. MMMM YYYY LT"
43 sameDay
: "[Heute um] LT",
45 nextDay
: '[Morgen um] LT',
46 nextWeek
: 'dddd [um] LT',
47 lastDay
: '[Gestern um] LT',
48 lastWeek
: '[letzten] dddd [um] LT'
53 s
: "ein paar Sekunden",
54 m
: processRelativeTime
,
56 h
: processRelativeTime
,
58 d
: processRelativeTime
,
59 dd
: processRelativeTime
,
60 M
: processRelativeTime
,
61 MM
: processRelativeTime
,
62 y
: processRelativeTime
,
63 yy
: processRelativeTime
67 dow
: 1, // Monday is the first day of the week.
68 doy
: 4 // The week that contains Jan 4th is the first week of the year.