PATH:
usr
/
local
/
lib
/
node_modules
/
pm2
/
node_modules
/
moment
/
src
/
locale
//! moment.js locale configuration //! locale : Icelandic [is] //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik import moment from '../moment'; function plural(n) { if (n % 100 === 11) { return true; } else if (n % 10 === 1) { return false; } return true; } function translate(number, withoutSuffix, key, isFuture) { var result = number + ' '; switch (key) { case 's': return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum'; case 'ss': if (plural(number)) { return result + (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum'); } return result + 'sekúnda'; case 'm': return withoutSuffix ? 'mínúta' : 'mínútu'; case 'mm': if (plural(number)) { return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum'); } else if (withoutSuffix) { return result + 'mínúta'; } return result + 'mínútu'; case 'hh': if (plural(number)) { return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum'); } return result + 'klukkustund'; case 'd': if (withoutSuffix) { return 'dagur'; } return isFuture ? 'dag' : 'degi'; case 'dd': if (plural(number)) { if (withoutSuffix) { return result + 'dagar'; } return result + (isFuture ? 'daga' : 'dögum'); } else if (withoutSuffix) { return result + 'dagur'; } return result + (isFuture ? 'dag' : 'degi'); case 'M': if (withoutSuffix) { return 'mánuður'; } return isFuture ? 'mánuð' : 'mánuði'; case 'MM': if (plural(number)) { if (withoutSuffix) { return result + 'mánuðir'; } return result + (isFuture ? 'mánuði' : 'mánuðum'); } else if (withoutSuffix) { return result + 'mánuður'; } return result + (isFuture ? 'mánuð' : 'mánuði'); case 'y': return withoutSuffix || isFuture ? 'ár' : 'ári'; case 'yy': if (plural(number)) { return result + (withoutSuffix || isFuture ? 'ár' : 'árum'); } return result + (withoutSuffix || isFuture ? 'ár' : 'ári'); } } export default moment.defineLocale('is', { months : 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'), monthsShort : 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), weekdays : 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'), weekdaysShort : 'sun_mán_þri_mið_fim_fös_lau'.split('_'), weekdaysMin : 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), longDateFormat : { LT : 'H:mm', LTS : 'H:mm:ss', L : 'DD.MM.YYYY', LL : 'D. MMMM YYYY', LLL : 'D. MMMM YYYY [kl.] H:mm', LLLL : 'dddd, D. MMMM YYYY [kl.] H:mm' }, calendar : { sameDay : '[í dag kl.] LT', nextDay : '[á morgun kl.] LT', nextWeek : 'dddd [kl.] LT', lastDay : '[í gær kl.] LT', lastWeek : '[síðasta] dddd [kl.] LT', sameElse : 'L' }, relativeTime : { future : 'eftir %s', past : 'fyrir %s síðan', s : translate, ss : translate, m : translate, mm : translate, h : 'klukkustund', hh : translate, d : translate, dd : translate, M : translate, MM : translate, y : translate, yy : translate }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal : '%d.', week : { dow : 1, // Monday is the first day of the week. doy : 4 // The week that contains Jan 4th is the first week of the year. } });
[-] bn.js
[edit]
[-] ug-cn.js
[edit]
[-] tzm.js
[edit]
[-] sk.js
[edit]
[-] cy.js
[edit]
[-] id.js
[edit]
[-] ms-my.js
[edit]
[-] nl.js
[edit]
[-] bm.js
[edit]
[-] fy.js
[edit]
[-] nb.js
[edit]
[-] zh-tw.js
[edit]
[-] uk.js
[edit]
[-] bo.js
[edit]
[-] lv.js
[edit]
[-] ja.js
[edit]
[-] gom-latn.js
[edit]
[-] gl.js
[edit]
[-] mr.js
[edit]
[-] tlh.js
[edit]
[-] ka.js
[edit]
[-] ar-kw.js
[edit]
[-] fr-ch.js
[edit]
[-] ca.js
[edit]
[-] ne.js
[edit]
[-] lb.js
[edit]
[-] az.js
[edit]
[-] sw.js
[edit]
[-] da.js
[edit]
[-] is.js
[edit]
[+]
..
[-] tzm-latn.js
[edit]
[-] ru.js
[edit]
[-] te.js
[edit]
[-] tzl.js
[edit]
[-] pt-br.js
[edit]
[-] ar-dz.js
[edit]
[-] nl-be.js
[edit]
[-] gu.js
[edit]
[-] si.js
[edit]
[-] en-ie.js
[edit]
[-] en-au.js
[edit]
[-] af.js
[edit]
[-] zh-hk.js
[edit]
[-] ml.js
[edit]
[-] el.js
[edit]
[-] be.js
[edit]
[-] vi.js
[edit]
[-] zh-cn.js
[edit]
[-] fa.js
[edit]
[-] sv.js
[edit]
[-] ar-ma.js
[edit]
[-] uz-latn.js
[edit]
[-] de-ch.js
[edit]
[-] yo.js
[edit]
[-] jv.js
[edit]
[-] km.js
[edit]
[-] tl-ph.js
[edit]
[-] bg.js
[edit]
[-] ar-ly.js
[edit]
[-] fo.js
[edit]
[-] mi.js
[edit]
[-] kn.js
[edit]
[-] eu.js
[edit]
[-] pl.js
[edit]
[-] lo.js
[edit]
[-] sr-cyrl.js
[edit]
[-] gd.js
[edit]
[-] ro.js
[edit]
[-] x-pseudo.js
[edit]
[-] ms.js
[edit]
[-] my.js
[edit]
[-] sl.js
[edit]
[-] es-do.js
[edit]
[-] uz.js
[edit]
[-] es.js
[edit]
[-] hi.js
[edit]
[-] ur.js
[edit]
[-] fi.js
[edit]
[-] fr.js
[edit]
[-] lt.js
[edit]
[-] en-il.js
[edit]
[-] ar-sa.js
[edit]
[-] sd.js
[edit]
[-] tg.js
[edit]
[-] de.js
[edit]
[-] hu.js
[edit]
[-] ku.js
[edit]
[-] hr.js
[edit]
[-] it-ch.js
[edit]
[-] ky.js
[edit]
[-] dv.js
[edit]
[-] ko.js
[edit]
[-] tr.js
[edit]
[-] en-nz.js
[edit]
[-] it.js
[edit]
[-] en-SG.js
[edit]
[-] hy-am.js
[edit]
[-] cv.js
[edit]
[-] pt.js
[edit]
[-] mn.js
[edit]
[-] de-at.js
[edit]
[-] ar-tn.js
[edit]
[-] nn.js
[edit]
[-] tet.js
[edit]
[-] he.js
[edit]
[-] en-gb.js
[edit]
[-] br.js
[edit]
[-] ss.js
[edit]
[-] es-us.js
[edit]
[-] ga.js
[edit]
[-] cs.js
[edit]
[-] me.js
[edit]
[-] th.js
[edit]
[-] bs.js
[edit]
[-] fr-ca.js
[edit]
[-] en-ca.js
[edit]
[-] et.js
[edit]
[-] se.js
[edit]
[-] ta.js
[edit]
[-] kk.js
[edit]
[-] mk.js
[edit]
[-] mt.js
[edit]
[-] eo.js
[edit]
[-] pa-in.js
[edit]
[-] ar.js
[edit]
[-] sq.js
[edit]
[-] sr.js
[edit]