6
;(function (global, factory) {
7
typeof exports === 'object' && typeof module !== 'undefined'
8
&& typeof require === 'function' ? factory(require('../moment')) :
9
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10
factory(global.moment)
11
}(this, (function (moment) { 'use strict';
15
function processRelativeTime(number, withoutSuffix, key, isFuture) {
17
m: ['eng Minutt', 'enger Minutt'],
18
h: ['eng Stonn', 'enger Stonn'],
19
d: ['een Dag', 'engem Dag'],
20
M: ['ee Mount', 'engem Mount'],
21
y: ['ee Joer', 'engem Joer'],
23
return withoutSuffix ? format[key][0] : format[key][1];
25
function processFutureTime(string) {
26
var number = string.substr(0, string.indexOf(' '));
27
if (eifelerRegelAppliesToNumber(number)) {
30
return 'an ' + string;
32
function processPastTime(string) {
33
var number = string.substr(0, string.indexOf(' '));
34
if (eifelerRegelAppliesToNumber(number)) {
35
return 'viru ' + string;
37
return 'virun ' + string;
46
function eifelerRegelAppliesToNumber(number) {
47
number = parseInt(number, 10);
54
} else if (number < 10) {
56
if (4 <= number && number <= 7) {
60
} else if (number < 100) {
62
var lastDigit = number % 10,
63
firstDigit = number / 10;
64
if (lastDigit === 0) {
65
return eifelerRegelAppliesToNumber(firstDigit);
67
return eifelerRegelAppliesToNumber(lastDigit);
68
} else if (number < 10000) {
70
while (number >= 10) {
73
return eifelerRegelAppliesToNumber(number);
76
number = number / 1000;
77
return eifelerRegelAppliesToNumber(number);
81
var lb = moment.defineLocale('lb', {
82
months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split(
85
monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split(
88
monthsParseExact: true,
89
weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split(
92
weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
93
weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
94
weekdaysParseExact: true,
97
LTS: 'H:mm:ss [Auer]',
100
LLL: 'D. MMMM YYYY H:mm [Auer]',
101
LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]',
104
sameDay: '[Haut um] LT',
106
nextDay: '[Muer um] LT',
107
nextWeek: 'dddd [um] LT',
108
lastDay: '[Gëschter um] LT',
109
lastWeek: function () {
111
switch (this.day()) {
114
return '[Leschten] dddd [um] LT';
116
return '[Leschte] dddd [um] LT';
121
future: processFutureTime,
122
past: processPastTime,
123
s: 'e puer Sekonnen',
125
m: processRelativeTime,
127
h: processRelativeTime,
129
d: processRelativeTime,
131
M: processRelativeTime,
133
y: processRelativeTime,
136
dayOfMonthOrdinalParse: /\d{1,2}\./,