cscg24-guacamole

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

af.js (2753B)


      1//! moment.js locale configuration
      2//! locale : Afrikaans [af]
      3//! author : Werner Mollentze : https://github.com/wernerm
      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 af = moment.defineLocale('af', {
     15        months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split(
     16            '_'
     17        ),
     18        monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
     19        weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split(
     20            '_'
     21        ),
     22        weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
     23        weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
     24        meridiemParse: /vm|nm/i,
     25        isPM: function (input) {
     26            return /^nm$/i.test(input);
     27        },
     28        meridiem: function (hours, minutes, isLower) {
     29            if (hours < 12) {
     30                return isLower ? 'vm' : 'VM';
     31            } else {
     32                return isLower ? 'nm' : 'NM';
     33            }
     34        },
     35        longDateFormat: {
     36            LT: 'HH:mm',
     37            LTS: 'HH:mm:ss',
     38            L: 'DD/MM/YYYY',
     39            LL: 'D MMMM YYYY',
     40            LLL: 'D MMMM YYYY HH:mm',
     41            LLLL: 'dddd, D MMMM YYYY HH:mm',
     42        },
     43        calendar: {
     44            sameDay: '[Vandag om] LT',
     45            nextDay: '[Môre om] LT',
     46            nextWeek: 'dddd [om] LT',
     47            lastDay: '[Gister om] LT',
     48            lastWeek: '[Laas] dddd [om] LT',
     49            sameElse: 'L',
     50        },
     51        relativeTime: {
     52            future: 'oor %s',
     53            past: '%s gelede',
     54            s: "'n paar sekondes",
     55            ss: '%d sekondes',
     56            m: "'n minuut",
     57            mm: '%d minute',
     58            h: "'n uur",
     59            hh: '%d ure',
     60            d: "'n dag",
     61            dd: '%d dae',
     62            M: "'n maand",
     63            MM: '%d maande',
     64            y: "'n jaar",
     65            yy: '%d jaar',
     66        },
     67        dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
     68        ordinal: function (number) {
     69            return (
     70                number +
     71                (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
     72            ); // Thanks to Joris Röling : https://github.com/jjupiter
     73        },
     74        week: {
     75            dow: 1, // Maandag is die eerste dag van die week.
     76            doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
     77        },
     78    });
     79
     80    return af;
     81
     82})));