fo.js 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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'
  6. && typeof require === 'function' ? factory(require('../moment')) :
  7. typeof define === 'function' && define.amd ? define(['moment'], factory) :
  8. factory(global.moment)
  9. }(this, function (moment) { 'use strict';
  10. var fo = moment.defineLocale('fo', {
  11. months : 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
  12. monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
  13. weekdays : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'),
  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. m : 'ein minutt',
  37. mm : '%d minuttir',
  38. h : 'ein tími',
  39. hh : '%d tímar',
  40. d : 'ein dagur',
  41. dd : '%d dagar',
  42. M : 'ein mánaði',
  43. MM : '%d mánaðir',
  44. y : 'eitt ár',
  45. yy : '%d ár'
  46. },
  47. ordinalParse: /\d{1,2}\./,
  48. ordinal : '%d.',
  49. week : {
  50. dow : 1, // Monday is the first day of the week.
  51. doy : 4 // The week that contains Jan 4th is the first week of the year.
  52. }
  53. });
  54. return fo;
  55. }));