fo.js 1.7 KB

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