Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fo.js 1.7KB

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