fo.js (2316B)
1//! moment.js locale configuration 2//! locale : Faroese [fo] 3//! author : Ragnar Johannesen : https://github.com/ragnar123 4//! author : Kristian Sakarisson : https://github.com/sakarisson 5 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'; 12 13 //! moment.js locale configuration 14 15 var fo = moment.defineLocale('fo', { 16 months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split( 17 '_' 18 ), 19 monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), 20 weekdays: 21 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split( 22 '_' 23 ), 24 weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'), 25 weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'), 26 longDateFormat: { 27 LT: 'HH:mm', 28 LTS: 'HH:mm:ss', 29 L: 'DD/MM/YYYY', 30 LL: 'D MMMM YYYY', 31 LLL: 'D MMMM YYYY HH:mm', 32 LLLL: 'dddd D. MMMM, YYYY HH:mm', 33 }, 34 calendar: { 35 sameDay: '[Í dag kl.] LT', 36 nextDay: '[Í morgin kl.] LT', 37 nextWeek: 'dddd [kl.] LT', 38 lastDay: '[Í gjár kl.] LT', 39 lastWeek: '[síðstu] dddd [kl] LT', 40 sameElse: 'L', 41 }, 42 relativeTime: { 43 future: 'um %s', 44 past: '%s síðani', 45 s: 'fá sekund', 46 ss: '%d sekundir', 47 m: 'ein minuttur', 48 mm: '%d minuttir', 49 h: 'ein tími', 50 hh: '%d tímar', 51 d: 'ein dagur', 52 dd: '%d dagar', 53 M: 'ein mánaður', 54 MM: '%d mánaðir', 55 y: 'eitt ár', 56 yy: '%d ár', 57 }, 58 dayOfMonthOrdinalParse: /\d{1,2}\./, 59 ordinal: '%d.', 60 week: { 61 dow: 1, // Monday is the first day of the week. 62 doy: 4, // The week that contains Jan 4th is the first week of the year. 63 }, 64 }); 65 66 return fo; 67 68})));