86cad937596b0620030b4af785ab066ff9f7fa031f9908d9a699d0cef8071e63de063910094580914ac672b06790b02197ab211a1e41c8c85cf56e4dbc61ea 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //! moment.js locale configuration
  2. //! locale : Nynorsk [nn]
  3. //! author : https://github.com/mechuwind
  4. import moment from '../moment';
  5. export default moment.defineLocale('nn', {
  6. months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
  7. monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
  8. weekdays : 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
  9. weekdaysShort : 'sun_mån_tys_ons_tor_fre_lau'.split('_'),
  10. weekdaysMin : 'su_må_ty_on_to_fr_lø'.split('_'),
  11. longDateFormat : {
  12. LT : 'HH:mm',
  13. LTS : 'HH:mm:ss',
  14. L : 'DD.MM.YYYY',
  15. LL : 'D. MMMM YYYY',
  16. LLL : 'D. MMMM YYYY [kl.] H:mm',
  17. LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
  18. },
  19. calendar : {
  20. sameDay: '[I dag klokka] LT',
  21. nextDay: '[I morgon klokka] LT',
  22. nextWeek: 'dddd [klokka] LT',
  23. lastDay: '[I går klokka] LT',
  24. lastWeek: '[Føregåande] dddd [klokka] LT',
  25. sameElse: 'L'
  26. },
  27. relativeTime : {
  28. future : 'om %s',
  29. past : '%s sidan',
  30. s : 'nokre sekund',
  31. m : 'eit minutt',
  32. mm : '%d minutt',
  33. h : 'ein time',
  34. hh : '%d timar',
  35. d : 'ein dag',
  36. dd : '%d dagar',
  37. M : 'ein månad',
  38. MM : '%d månader',
  39. y : 'eit år',
  40. yy : '%d år'
  41. },
  42. ordinalParse: /\d{1,2}\./,
  43. ordinal : '%d.',
  44. week : {
  45. dow : 1, // Monday is the first day of the week.
  46. doy : 4 // The week that contains Jan 4th is the first week of the year.
  47. }
  48. });