LaravelTest
79 строк · 2.7 Кб
1//! moment.js locale configuration
2//! locale : Tetun Dili (East Timor) [tet]
3//! author : Joshua Brooks : https://github.com/joshbrooks
4//! author : Onorio De J. Afonso : https://github.com/marobo
5//! author : Sonia Simoes : https://github.com/soniasimoes
6
7;(function (global, factory) {8typeof exports === 'object' && typeof module !== 'undefined'9&& typeof require === 'function' ? factory(require('../moment')) :10typeof define === 'function' && define.amd ? define(['../moment'], factory) :11factory(global.moment)12}(this, (function (moment) { 'use strict';13
14//! moment.js locale configuration15
16var tet = moment.defineLocale('tet', {17months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(18'_'19),20monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),21weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),22weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),23weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),24longDateFormat: {25LT: 'HH:mm',26LTS: 'HH:mm:ss',27L: 'DD/MM/YYYY',28LL: 'D MMMM YYYY',29LLL: 'D MMMM YYYY HH:mm',30LLLL: 'dddd, D MMMM YYYY HH:mm',31},32calendar: {33sameDay: '[Ohin iha] LT',34nextDay: '[Aban iha] LT',35nextWeek: 'dddd [iha] LT',36lastDay: '[Horiseik iha] LT',37lastWeek: 'dddd [semana kotuk] [iha] LT',38sameElse: 'L',39},40relativeTime: {41future: 'iha %s',42past: '%s liuba',43s: 'segundu balun',44ss: 'segundu %d',45m: 'minutu ida',46mm: 'minutu %d',47h: 'oras ida',48hh: 'oras %d',49d: 'loron ida',50dd: 'loron %d',51M: 'fulan ida',52MM: 'fulan %d',53y: 'tinan ida',54yy: 'tinan %d',55},56dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,57ordinal: function (number) {58var b = number % 10,59output =60~~((number % 100) / 10) === 161? 'th'62: b === 163? 'st'64: b === 265? 'nd'66: b === 367? 'rd'68: 'th';69return number + output;70},71week: {72dow: 1, // Monday is the first day of the week.73doy: 4, // The week that contains Jan 4th is the first week of the year.74},75});76
77return tet;78
79})));80