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