cscg24-guacamole

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

pt.js (2540B)


      1//! moment.js locale configuration
      2//! locale : Portuguese [pt]
      3//! author : Jefferson : https://github.com/jalex79
      4
      5;(function (global, factory) {
      6   typeof exports === 'object' && typeof module !== 'undefined'
      7       && typeof require === 'function' ? factory(require('../moment')) :
      8   typeof define === 'function' && define.amd ? define(['../moment'], factory) :
      9   factory(global.moment)
     10}(this, (function (moment) { 'use strict';
     11
     12    //! moment.js locale configuration
     13
     14    var pt = moment.defineLocale('pt', {
     15        months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
     16            '_'
     17        ),
     18        monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
     19        weekdays:
     20            'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(
     21                '_'
     22            ),
     23        weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
     24        weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
     25        weekdaysParseExact: true,
     26        longDateFormat: {
     27            LT: 'HH:mm',
     28            LTS: 'HH:mm:ss',
     29            L: 'DD/MM/YYYY',
     30            LL: 'D [de] MMMM [de] YYYY',
     31            LLL: 'D [de] MMMM [de] YYYY HH:mm',
     32            LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',
     33        },
     34        calendar: {
     35            sameDay: '[Hoje às] LT',
     36            nextDay: '[Amanhã às] LT',
     37            nextWeek: 'dddd [às] LT',
     38            lastDay: '[Ontem às] LT',
     39            lastWeek: function () {
     40                return this.day() === 0 || this.day() === 6
     41                    ? '[Último] dddd [às] LT' // Saturday + Sunday
     42                    : '[Última] dddd [às] LT'; // Monday - Friday
     43            },
     44            sameElse: 'L',
     45        },
     46        relativeTime: {
     47            future: 'em %s',
     48            past: 'há %s',
     49            s: 'segundos',
     50            ss: '%d segundos',
     51            m: 'um minuto',
     52            mm: '%d minutos',
     53            h: 'uma hora',
     54            hh: '%d horas',
     55            d: 'um dia',
     56            dd: '%d dias',
     57            w: 'uma semana',
     58            ww: '%d semanas',
     59            M: 'um mês',
     60            MM: '%d meses',
     61            y: 'um ano',
     62            yy: '%d anos',
     63        },
     64        dayOfMonthOrdinalParse: /\d{1,2}º/,
     65        ordinal: '%dº',
     66        week: {
     67            dow: 1, // Monday is the first day of the week.
     68            doy: 4, // The week that contains Jan 4th is the first week of the year.
     69        },
     70    });
     71
     72    return pt;
     73
     74})));