PageRenderTime 15ms CodeModel.GetById 10ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/node_modules/moment/locale/tet.js

https://bitbucket.org/coleman333/smartsite
JavaScript | 66 lines | 60 code | 5 blank | 1 comment | 3 complexity | 16ea109ae9e00db28f228918c290ee1b MD5 | raw file
 1//! moment.js locale configuration
 2
 3;(function (global, factory) {
 4   typeof exports === 'object' && typeof module !== 'undefined'
 5       && typeof require === 'function' ? factory(require('../moment')) :
 6   typeof define === 'function' && define.amd ? define(['../moment'], factory) :
 7   factory(global.moment)
 8}(this, (function (moment) { 'use strict';
 9
10
11    var tet = moment.defineLocale('tet', {
12        months : 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split('_'),
13        monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
14        weekdays : 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
15        weekdaysShort : 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
16        weekdaysMin : 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),
17        longDateFormat : {
18            LT : 'HH:mm',
19            LTS : 'HH:mm:ss',
20            L : 'DD/MM/YYYY',
21            LL : 'D MMMM YYYY',
22            LLL : 'D MMMM YYYY HH:mm',
23            LLLL : 'dddd, D MMMM YYYY HH:mm'
24        },
25        calendar : {
26            sameDay: '[Ohin iha] LT',
27            nextDay: '[Aban iha] LT',
28            nextWeek: 'dddd [iha] LT',
29            lastDay: '[Horiseik iha] LT',
30            lastWeek: 'dddd [semana kotuk] [iha] LT',
31            sameElse: 'L'
32        },
33        relativeTime : {
34            future : 'iha %s',
35            past : '%s liuba',
36            s : 'minutu balun',
37            ss : 'minutu %d',
38            m : 'minutu ida',
39            mm : 'minutu %d',
40            h : 'oras ida',
41            hh : 'oras %d',
42            d : 'loron ida',
43            dd : 'loron %d',
44            M : 'fulan ida',
45            MM : 'fulan %d',
46            y : 'tinan ida',
47            yy : 'tinan %d'
48        },
49        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
50        ordinal : function (number) {
51            var b = number % 10,
52                output = (~~(number % 100 / 10) === 1) ? 'th' :
53                (b === 1) ? 'st' :
54                (b === 2) ? 'nd' :
55                (b === 3) ? 'rd' : 'th';
56            return number + output;
57        },
58        week : {
59            dow : 1, // Monday is the first day of the week.
60            doy : 4  // The week that contains Jan 4th is the first week of the year.
61        }
62    });
63
64    return tet;
65
66})));