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