cscg24-guacamole

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

tet.js (2179B)


      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
      7import moment from '../moment';
      8
      9export default moment.defineLocale('tet', {
     10    months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(
     11        '_'
     12    ),
     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: 'segundu balun',
     37        ss: 'segundu %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 =
     53                ~~((number % 100) / 10) === 1
     54                    ? 'th'
     55                    : b === 1
     56                      ? 'st'
     57                      : b === 2
     58                        ? 'nd'
     59                        : b === 3
     60                          ? 'rd'
     61                          : 'th';
     62        return number + output;
     63    },
     64    week: {
     65        dow: 1, // Monday is the first day of the week.
     66        doy: 4, // The week that contains Jan 4th is the first week of the year.
     67    },
     68});