fo.js 2.2 KB

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