cscg24-guacamole

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

cv.js (2917B)


      1//! moment.js locale configuration
      2//! locale : Chuvash [cv]
      3//! author : Anatoly Mironov : https://github.com/mirontoli
      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 cv = moment.defineLocale('cv', {
     15        months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(
     16            '_'
     17        ),
     18        monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
     19        weekdays:
     20            'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(
     21                '_'
     22            ),
     23        weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
     24        weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
     25        longDateFormat: {
     26            LT: 'HH:mm',
     27            LTS: 'HH:mm:ss',
     28            L: 'DD-MM-YYYY',
     29            LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
     30            LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
     31            LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
     32        },
     33        calendar: {
     34            sameDay: '[Паян] LT [сехетре]',
     35            nextDay: '[Ыран] LT [сехетре]',
     36            lastDay: '[Ӗнер] LT [сехетре]',
     37            nextWeek: '[Ҫитес] dddd LT [сехетре]',
     38            lastWeek: '[Иртнӗ] dddd LT [сехетре]',
     39            sameElse: 'L',
     40        },
     41        relativeTime: {
     42            future: function (output) {
     43                var affix = /сехет$/i.exec(output)
     44                    ? 'рен'
     45                    : /ҫул$/i.exec(output)
     46                      ? 'тан'
     47                      : 'ран';
     48                return output + affix;
     49            },
     50            past: '%s каялла',
     51            s: 'пӗр-ик ҫеккунт',
     52            ss: '%d ҫеккунт',
     53            m: 'пӗр минут',
     54            mm: '%d минут',
     55            h: 'пӗр сехет',
     56            hh: '%d сехет',
     57            d: 'пӗр кун',
     58            dd: '%d кун',
     59            M: 'пӗр уйӑх',
     60            MM: '%d уйӑх',
     61            y: 'пӗр ҫул',
     62            yy: '%d ҫул',
     63        },
     64        dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
     65        ordinal: '%d-мӗш',
     66        week: {
     67            dow: 1, // Monday is the first day of the week.
     68            doy: 7, // The week that contains Jan 7th is the first week of the year.
     69        },
     70    });
     71
     72    return cv;
     73
     74})));