mirror of
https://github.com/supanadit/todo.git
synced 2024-11-24 11:16:22 +00:00
64 lines
2.3 KiB
JavaScript
Executable File
Vendored
64 lines
2.3 KiB
JavaScript
Executable File
Vendored
//! moment.js locale configuration
|
|
|
|
;(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';
|
|
|
|
|
|
var mi = moment.defineLocale('mi', {
|
|
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('_'),
|
|
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',
|
|
LLLL: 'dddd, D MMMM YYYY [i] HH:mm'
|
|
},
|
|
calendar: {
|
|
sameDay: '[i teie mahana, i] LT',
|
|
nextDay: '[apopo i] LT',
|
|
nextWeek: 'dddd [i] LT',
|
|
lastDay: '[inanahi i] LT',
|
|
lastWeek: 'dddd [whakamutunga i] LT',
|
|
sameElse: 'L'
|
|
},
|
|
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',
|
|
yy: '%d tau'
|
|
},
|
|
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
|
ordinal: '%dº',
|
|
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.
|
|
}
|
|
});
|
|
|
|
return mi;
|
|
|
|
})));
|