39 lines
1.1 KiB
JavaScript
39 lines
1.1 KiB
JavaScript
// Maori [mi]
|
|
import dayjs from '../index';
|
|
var locale = {
|
|
name: 'mi',
|
|
weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
|
|
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('_'),
|
|
weekStart: 1,
|
|
weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
|
|
monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'),
|
|
weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
|
|
ordinal: function ordinal(n) {
|
|
return n;
|
|
},
|
|
formats: {
|
|
LT: 'HH:mm',
|
|
LTS: 'HH:mm:ss',
|
|
L: 'DD/MM/YYYY',
|
|
LL: 'D MMMM YYYY',
|
|
LLL: 'D MMMM YYYY [i] HH:mm',
|
|
LLLL: 'dddd, D MMMM YYYY [i] HH:mm'
|
|
},
|
|
relativeTime: {
|
|
future: 'i roto i %s',
|
|
past: '%s i mua',
|
|
s: 'te hēkona ruarua',
|
|
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',
|
|
yy: '%d tau'
|
|
}
|
|
};
|
|
dayjs.locale(locale, null, true);
|
|
export default locale; |