d8989c40b5d501b3667a8776fbc82c7ee7a29d25b34b334cc9757ba9e7392ec0ff5d95b586709e457b4b7c2618f8d0b386b5afa68ed68865050714d7532ac0 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //! moment.js locale configuration
  2. //! locale : Maori [mi]
  3. //! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal
  4. import moment from '../moment';
  5. export default moment.defineLocale('mi', {
  6. months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split('_'),
  7. monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'),
  8. monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  9. monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  10. monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  11. monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,
  12. weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
  13. weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  14. weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.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 [i] HH:mm',
  21. LLLL: 'dddd, D MMMM YYYY [i] HH:mm'
  22. },
  23. calendar: {
  24. sameDay: '[i teie mahana, i] LT',
  25. nextDay: '[apopo i] LT',
  26. nextWeek: 'dddd [i] LT',
  27. lastDay: '[inanahi i] LT',
  28. lastWeek: 'dddd [whakamutunga i] LT',
  29. sameElse: 'L'
  30. },
  31. relativeTime: {
  32. future: 'i roto i %s',
  33. past: '%s i mua',
  34. s: 'te hēkona ruarua',
  35. m: 'he meneti',
  36. mm: '%d meneti',
  37. h: 'te haora',
  38. hh: '%d haora',
  39. d: 'he ra',
  40. dd: '%d ra',
  41. M: 'he marama',
  42. MM: '%d marama',
  43. y: 'he tau',
  44. yy: '%d tau'
  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. });