fo.js 2.0 KB

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