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