5
;(function (global, factory) {
6
typeof exports === 'object' && typeof module !== 'undefined'
7
&& typeof require === 'function' ? factory(require('../moment')) :
8
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10
}(this, (function (moment) { 'use strict';
14
function processRelativeTime(number, withoutSuffix, key, isFuture) {
16
m: ['eine Minute', 'einer Minute'],
17
h: ['eine Stunde', 'einer Stunde'],
18
d: ['ein Tag', 'einem Tag'],
19
dd: [number + ' Tage', number + ' Tagen'],
20
w: ['eine Woche', 'einer Woche'],
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
var deCh = moment.defineLocale('de-ch', {
30
months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
33
monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
36
monthsParseExact: true,
37
weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
40
weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
41
weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
42
weekdaysParseExact: true,
48
LLL: 'D. MMMM YYYY HH:mm',
49
LLLL: 'dddd, D. MMMM YYYY HH:mm',
52
sameDay: '[heute um] LT [Uhr]',
54
nextDay: '[morgen um] LT [Uhr]',
55
nextWeek: 'dddd [um] LT [Uhr]',
56
lastDay: '[gestern um] LT [Uhr]',
57
lastWeek: '[letzten] dddd [um] LT [Uhr]',
62
s: 'ein paar Sekunden',
64
m: processRelativeTime,
66
h: processRelativeTime,
68
d: processRelativeTime,
69
dd: processRelativeTime,
70
w: processRelativeTime,
72
M: processRelativeTime,
73
MM: processRelativeTime,
74
y: processRelativeTime,
75
yy: processRelativeTime,
77
dayOfMonthOrdinalParse: /\d{1,2}\./,