2019-06-10 15:38:54 +00:00
|
|
|
//! moment.js locale configuration
|
2020-07-23 21:12:30 +00:00
|
|
|
//! locale : Tetun Dili (East Timor) [tet]
|
|
|
|
//! author : Joshua Brooks : https://github.com/joshbrooks
|
|
|
|
//! author : Onorio De J. Afonso : https://github.com/marobo
|
|
|
|
//! author : Sonia Simoes : https://github.com/soniasimoes
|
2019-06-10 15:38:54 +00:00
|
|
|
|
|
|
|
;(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';
|
|
|
|
|
2020-07-23 21:12:30 +00:00
|
|
|
//! moment.js locale configuration
|
2019-06-10 15:38:54 +00:00
|
|
|
|
|
|
|
var tet = moment.defineLocale('tet', {
|
2020-07-23 21:12:30 +00:00
|
|
|
months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(
|
|
|
|
'_'
|
|
|
|
),
|
|
|
|
monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
|
|
|
|
weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
|
|
|
|
weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
|
|
|
|
weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),
|
|
|
|
longDateFormat: {
|
|
|
|
LT: 'HH:mm',
|
|
|
|
LTS: 'HH:mm:ss',
|
|
|
|
L: 'DD/MM/YYYY',
|
|
|
|
LL: 'D MMMM YYYY',
|
|
|
|
LLL: 'D MMMM YYYY HH:mm',
|
|
|
|
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
2019-06-10 15:38:54 +00:00
|
|
|
},
|
2020-07-23 21:12:30 +00:00
|
|
|
calendar: {
|
2019-06-10 15:38:54 +00:00
|
|
|
sameDay: '[Ohin iha] LT',
|
|
|
|
nextDay: '[Aban iha] LT',
|
|
|
|
nextWeek: 'dddd [iha] LT',
|
|
|
|
lastDay: '[Horiseik iha] LT',
|
|
|
|
lastWeek: 'dddd [semana kotuk] [iha] LT',
|
2020-07-23 21:12:30 +00:00
|
|
|
sameElse: 'L',
|
2019-06-10 15:38:54 +00:00
|
|
|
},
|
2020-07-23 21:12:30 +00:00
|
|
|
relativeTime: {
|
|
|
|
future: 'iha %s',
|
|
|
|
past: '%s liuba',
|
|
|
|
s: 'segundu balun',
|
|
|
|
ss: 'segundu %d',
|
|
|
|
m: 'minutu ida',
|
|
|
|
mm: 'minutu %d',
|
|
|
|
h: 'oras ida',
|
|
|
|
hh: 'oras %d',
|
|
|
|
d: 'loron ida',
|
|
|
|
dd: 'loron %d',
|
|
|
|
M: 'fulan ida',
|
|
|
|
MM: 'fulan %d',
|
|
|
|
y: 'tinan ida',
|
|
|
|
yy: 'tinan %d',
|
2019-06-10 15:38:54 +00:00
|
|
|
},
|
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
2020-07-23 21:12:30 +00:00
|
|
|
ordinal: function (number) {
|
2019-06-10 15:38:54 +00:00
|
|
|
var b = number % 10,
|
2020-07-23 21:12:30 +00:00
|
|
|
output =
|
|
|
|
~~((number % 100) / 10) === 1
|
|
|
|
? 'th'
|
|
|
|
: b === 1
|
|
|
|
? 'st'
|
|
|
|
: b === 2
|
|
|
|
? 'nd'
|
|
|
|
: b === 3
|
|
|
|
? 'rd'
|
|
|
|
: 'th';
|
2019-06-10 15:38:54 +00:00
|
|
|
return number + output;
|
|
|
|
},
|
2020-07-23 21:12:30 +00:00
|
|
|
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.
|
|
|
|
},
|
2019-06-10 15:38:54 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
return tet;
|
|
|
|
|
|
|
|
})));
|