1 // moment.js language configuration
2 // language : austrian german (de-at)
3 // author : lluchs : https://github.com/lluchs
4 // author: Menelion Elensúle: https://github.com/Oire
5 // author : Martin Groller : https://github.com/MadMG
8 if (typeof define === 'function' && define.amd) {
9 define(['moment'], factory); // AMD
10 } else if (typeof exports === 'object') {
11 module.exports = factory(require('../moment')); // Node
13 factory(window.moment); // Browser global
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 return moment.lang('de-at', {
31 months : "Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),
32 monthsShort : "Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),
33 weekdays : "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),
34 weekdaysShort : "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),
35 weekdaysMin : "So_Mo_Di_Mi_Do_Fr_Sa".split("_"),
40 LLL : "D. MMMM YYYY LT",
41 LLLL : "dddd, D. MMMM YYYY LT"
44 sameDay: "[Heute um] LT",
46 nextDay: '[Morgen um] LT',
47 nextWeek: 'dddd [um] LT',
48 lastDay: '[Gestern um] LT',
49 lastWeek: '[letzten] dddd [um] LT'
54 s : "ein paar Sekunden",
55 m : processRelativeTime,
57 h : processRelativeTime,
59 d : processRelativeTime,
60 dd : processRelativeTime,
61 M : processRelativeTime,
62 MM : processRelativeTime,
63 y : processRelativeTime,
64 yy : processRelativeTime
68 dow : 1, // Monday is the first day of the week.
69 doy : 4 // The week that contains Jan 4th is the first week of the year.