fo.js 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // moment.js language configuration
  2. // language : faroese (fo)
  3. // author : Ragnar Johannesen : https://github.com/ragnar123
  4. (function (factory) {
  5. if (typeof define === 'function' && define.amd) {
  6. define(['moment'], factory); // AMD
  7. } else if (typeof exports === 'object') {
  8. module.exports = factory(require('../moment')); // Node
  9. } else {
  10. factory(window.moment); // Browser global
  11. }
  12. }(function (moment) {
  13. return moment.lang('fo', {
  14. months : "januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),
  15. monthsShort : "jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),
  16. weekdays : "sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),
  17. weekdaysShort : "sun_mán_týs_mik_hós_frí_ley".split("_"),
  18. weekdaysMin : "su_má_tý_mi_hó_fr_le".split("_"),
  19. longDateFormat : {
  20. LT : "HH:mm",
  21. L : "DD/MM/YYYY",
  22. LL : "D MMMM YYYY",
  23. LLL : "D MMMM YYYY LT",
  24. LLLL : "dddd D. MMMM, YYYY LT"
  25. },
  26. calendar : {
  27. sameDay : '[Í dag kl.] LT',
  28. nextDay : '[Í morgin kl.] LT',
  29. nextWeek : 'dddd [kl.] LT',
  30. lastDay : '[Í gjár kl.] LT',
  31. lastWeek : '[síðstu] dddd [kl] LT',
  32. sameElse : 'L'
  33. },
  34. relativeTime : {
  35. future : "um %s",
  36. past : "%s síðani",
  37. s : "fá sekund",
  38. m : "ein minutt",
  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ði",
  45. MM : "%d mánaðir",
  46. y : "eitt ár",
  47. yy : "%d ár"
  48. },
  49. ordinal : '%d.',
  50. week : {
  51. dow : 1, // Monday is the first day of the week.
  52. doy : 4 // The week that contains Jan 4th is the first week of the year.
  53. }
  54. });
  55. }));