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