cscg24-guacamole

CSCG 2024 Challenge 'Guacamole Mashup'
git clone https://git.sinitax.com/sinitax/cscg24-guacamole
Log | Files | Refs | sfeed.txt

tet.js (2765B)


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