2019-06-10 15:38:54 +00:00
|
|
|
//! moment.js locale configuration
|
2020-07-23 21:12:30 +00:00
|
|
|
//! locale : Maori [mi]
|
|
|
|
//! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal
|
2019-06-10 15:38:54 +00:00
|
|
|
|
|
|
|
;(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
|
|
factory(global.moment)
|
|
|
|
}(this, (function (moment) { 'use strict';
|
|
|
|
|
2020-07-23 21:12:30 +00:00
|
|
|
//! moment.js locale configuration
|
2019-06-10 15:38:54 +00:00
|
|
|
|
|
|
|
var mi = moment.defineLocale('mi', {
|
2020-07-23 21:12:30 +00:00
|
|
|
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(
|
|
|
|
'_'
|
|
|
|
),
|
|
|
|
monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split(
|
|
|
|
'_'
|
|
|
|
),
|
2019-06-10 15:38:54 +00:00
|
|
|
monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
|
|
|
|
monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
|
|
|
|
monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
|
|
|
|
monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,
|
|
|
|
weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
|
|
|
|
weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
|
|
|
|
weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
|
|
|
|
longDateFormat: {
|
|
|
|
LT: 'HH:mm',
|
|
|
|
LTS: 'HH:mm:ss',
|
|
|
|
L: 'DD/MM/YYYY',
|
|
|
|
LL: 'D MMMM YYYY',
|
|
|
|
LLL: 'D MMMM YYYY [i] HH:mm',
|
2020-07-23 21:12:30 +00:00
|
|
|
LLLL: 'dddd, D MMMM YYYY [i] HH:mm',
|
2019-06-10 15:38:54 +00:00
|
|
|
},
|
|
|
|
calendar: {
|
|
|
|
sameDay: '[i teie mahana, i] LT',
|
|
|
|
nextDay: '[apopo i] LT',
|
|
|
|
nextWeek: 'dddd [i] LT',
|
|
|
|
lastDay: '[inanahi i] LT',
|
|
|
|
lastWeek: 'dddd [whakamutunga i] LT',
|
2020-07-23 21:12:30 +00:00
|
|
|
sameElse: 'L',
|
2019-06-10 15:38:54 +00:00
|
|
|
},
|
|
|
|
relativeTime: {
|
|
|
|
future: 'i roto i %s',
|
|
|
|
past: '%s i mua',
|
|
|
|
s: 'te hēkona ruarua',
|
|
|
|
ss: '%d hēkona',
|
|
|
|
m: 'he meneti',
|
|
|
|
mm: '%d meneti',
|
|
|
|
h: 'te haora',
|
|
|
|
hh: '%d haora',
|
|
|
|
d: 'he ra',
|
|
|
|
dd: '%d ra',
|
|
|
|
M: 'he marama',
|
|
|
|
MM: '%d marama',
|
|
|
|
y: 'he tau',
|
2020-07-23 21:12:30 +00:00
|
|
|
yy: '%d tau',
|
2019-06-10 15:38:54 +00:00
|
|
|
},
|
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
|
|
|
ordinal: '%dº',
|
2020-07-23 21:12:30 +00:00
|
|
|
week: {
|
|
|
|
dow: 1, // Monday is the first day of the week.
|
|
|
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
|
|
},
|
2019-06-10 15:38:54 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
return mi;
|
|
|
|
|
|
|
|
})));
|