mi.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //! moment.js locale configuration
  2. ;(function (global, factory) {
  3. typeof exports === 'object' && typeof module !== 'undefined'
  4. && typeof require === 'function' ? factory(require('../moment')) :
  5. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  6. factory(global.moment)
  7. }(this, (function (moment) { 'use strict';
  8. var mi = moment.defineLocale('mi', {
  9. 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('_'),
  10. monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'),
  11. monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  12. monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  13. monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  14. monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,
  15. weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
  16. weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  17. weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  18. longDateFormat: {
  19. LT: 'HH:mm',
  20. LTS: 'HH:mm:ss',
  21. L: 'DD/MM/YYYY',
  22. LL: 'D MMMM YYYY',
  23. LLL: 'D MMMM YYYY [i] HH:mm',
  24. LLLL: 'dddd, D MMMM YYYY [i] HH:mm'
  25. },
  26. calendar: {
  27. sameDay: '[i teie mahana, i] LT',
  28. nextDay: '[apopo i] LT',
  29. nextWeek: 'dddd [i] LT',
  30. lastDay: '[inanahi i] LT',
  31. lastWeek: 'dddd [whakamutunga i] LT',
  32. sameElse: 'L'
  33. },
  34. relativeTime: {
  35. future: 'i roto i %s',
  36. past: '%s i mua',
  37. s: 'te hēkona ruarua',
  38. ss: '%d hēkona',
  39. m: 'he meneti',
  40. mm: '%d meneti',
  41. h: 'te haora',
  42. hh: '%d haora',
  43. d: 'he ra',
  44. dd: '%d ra',
  45. M: 'he marama',
  46. MM: '%d marama',
  47. y: 'he tau',
  48. yy: '%d tau'
  49. },
  50. dayOfMonthOrdinalParse: /\d{1,2}º/,
  51. ordinal: '%dº',
  52. week : {
  53. dow : 1, // Monday is the first day of the week.
  54. doy : 4 // The week that contains Jan 4th is the first week of the year.
  55. }
  56. });
  57. return mi;
  58. })));