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';
17
} else if (n % 10 === 1) {
22
function translate(number, withoutSuffix, key, isFuture) {
23
var result = number + ' ';
26
return withoutSuffix || isFuture
33
(withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum')
36
return result + 'sekúnda';
38
return withoutSuffix ? 'mínúta' : 'mínútu';
42
result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum')
44
} else if (withoutSuffix) {
45
return result + 'mínúta';
47
return result + 'mínútu';
52
(withoutSuffix || isFuture
57
return result + 'klukkustund';
62
return isFuture ? 'dag' : 'degi';
66
return result + 'dagar';
68
return result + (isFuture ? 'daga' : 'dögum');
69
} else if (withoutSuffix) {
70
return result + 'dagur';
72
return result + (isFuture ? 'dag' : 'degi');
77
return isFuture ? 'mánuð' : 'mánuði';
81
return result + 'mánuðir';
83
return result + (isFuture ? 'mánuði' : 'mánuðum');
84
} else if (withoutSuffix) {
85
return result + 'mánuður';
87
return result + (isFuture ? 'mánuð' : 'mánuði');
89
return withoutSuffix || isFuture ? 'ár' : 'ári';
92
return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
94
return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
98
var is = moment.defineLocale('is', {
99
months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split(
102
monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
103
weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split(
106
weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
107
weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
113
LLL: 'D. MMMM YYYY [kl.] H:mm',
114
LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm',
117
sameDay: '[í dag kl.] LT',
118
nextDay: '[á morgun kl.] LT',
119
nextWeek: 'dddd [kl.] LT',
120
lastDay: '[í gær kl.] LT',
121
lastWeek: '[síðasta] dddd [kl.] LT',
126
past: 'fyrir %s síðan',
140
dayOfMonthOrdinalParse: /\d{1,2}\./,