cscg24-guacamole

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

x-pseudo.js (2994B)


      1//! moment.js locale configuration
      2//! locale : Pseudo [x-pseudo]
      3//! author : Andrew Hood : https://github.com/andrewhood125
      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 xPseudo = moment.defineLocale('x-pseudo', {
     15        months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split(
     16            '_'
     17        ),
     18        monthsShort:
     19            'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(
     20                '_'
     21            ),
     22        monthsParseExact: true,
     23        weekdays:
     24            'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(
     25                '_'
     26            ),
     27        weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
     28        weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
     29        weekdaysParseExact: true,
     30        longDateFormat: {
     31            LT: 'HH:mm',
     32            L: 'DD/MM/YYYY',
     33            LL: 'D MMMM YYYY',
     34            LLL: 'D MMMM YYYY HH:mm',
     35            LLLL: 'dddd, D MMMM YYYY HH:mm',
     36        },
     37        calendar: {
     38            sameDay: '[T~ódá~ý át] LT',
     39            nextDay: '[T~ómó~rró~w át] LT',
     40            nextWeek: 'dddd [át] LT',
     41            lastDay: '[Ý~ést~érdá~ý át] LT',
     42            lastWeek: '[L~ást] dddd [át] LT',
     43            sameElse: 'L',
     44        },
     45        relativeTime: {
     46            future: 'í~ñ %s',
     47            past: '%s á~gó',
     48            s: 'á ~féw ~sécó~ñds',
     49            ss: '%d s~écóñ~ds',
     50            m: 'á ~míñ~úté',
     51            mm: '%d m~íñú~tés',
     52            h: 'á~ñ hó~úr',
     53            hh: '%d h~óúrs',
     54            d: 'á ~dáý',
     55            dd: '%d d~áýs',
     56            M: 'á ~móñ~th',
     57            MM: '%d m~óñt~hs',
     58            y: 'á ~ýéár',
     59            yy: '%d ý~éárs',
     60        },
     61        dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
     62        ordinal: function (number) {
     63            var b = number % 10,
     64                output =
     65                    ~~((number % 100) / 10) === 1
     66                        ? 'th'
     67                        : b === 1
     68                          ? 'st'
     69                          : b === 2
     70                            ? 'nd'
     71                            : b === 3
     72                              ? 'rd'
     73                              : 'th';
     74            return number + output;
     75        },
     76        week: {
     77            dow: 1, // Monday is the first day of the week.
     78            doy: 4, // The week that contains Jan 4th is the first week of the year.
     79        },
     80    });
     81
     82    return xPseudo;
     83
     84})));