corrade-nucleus-nucleons – Blame information for rev 38
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
38 | office | 1 | //! moment.js locale configuration |
2 | //! locale : Maori [mi] |
||
3 | //! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal |
||
4 | |||
5 | ;(function (global, factory) { |
||
6 | typeof exports === 'object' && typeof module !== 'undefined' |
||
7 | && typeof require === 'function' ? factory(require('../moment')) : |
||
8 | typeof define === 'function' && define.amd ? define(['../moment'], factory) : |
||
9 | factory(global.moment) |
||
10 | }(this, (function (moment) { 'use strict'; |
||
11 | |||
12 | |||
13 | var mi = moment.defineLocale('mi', { |
||
14 | 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('_'), |
||
15 | monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'), |
||
16 | monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, |
||
17 | monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, |
||
18 | monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, |
||
19 | monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i, |
||
20 | weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'), |
||
21 | weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), |
||
22 | weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), |
||
23 | longDateFormat: { |
||
24 | LT: 'HH:mm', |
||
25 | LTS: 'HH:mm:ss', |
||
26 | L: 'DD/MM/YYYY', |
||
27 | LL: 'D MMMM YYYY', |
||
28 | LLL: 'D MMMM YYYY [i] HH:mm', |
||
29 | LLLL: 'dddd, D MMMM YYYY [i] HH:mm' |
||
30 | }, |
||
31 | calendar: { |
||
32 | sameDay: '[i teie mahana, i] LT', |
||
33 | nextDay: '[apopo i] LT', |
||
34 | nextWeek: 'dddd [i] LT', |
||
35 | lastDay: '[inanahi i] LT', |
||
36 | lastWeek: 'dddd [whakamutunga i] LT', |
||
37 | sameElse: 'L' |
||
38 | }, |
||
39 | relativeTime: { |
||
40 | future: 'i roto i %s', |
||
41 | past: '%s i mua', |
||
42 | s: 'te hēkona ruarua', |
||
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 | }); |
||
61 | |||
62 | return mi; |
||
63 | |||
64 | }))); |