LaravelTest
113 строк · 3.8 Кб
1//! moment.js locale configuration
2//! locale : Dutch (Belgium) [nl-be]
3//! author : Joris Röling : https://github.com/jorisroling
4//! author : Jacob Middag : https://github.com/middagj
5
6;(function (global, factory) {7typeof exports === 'object' && typeof module !== 'undefined'8&& typeof require === 'function' ? factory(require('../moment')) :9typeof define === 'function' && define.amd ? define(['../moment'], factory) :10factory(global.moment)11}(this, (function (moment) { 'use strict';12
13//! moment.js locale configuration14
15var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split(16'_'17),18monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split(19'_'20),21monthsParse = [22/^jan/i,23/^feb/i,24/^maart|mrt.?$/i,25/^apr/i,26/^mei$/i,27/^jun[i.]?$/i,28/^jul[i.]?$/i,29/^aug/i,30/^sep/i,31/^okt/i,32/^nov/i,33/^dec/i,34],35monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;36
37var nlBe = moment.defineLocale('nl-be', {38months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(39'_'40),41monthsShort: function (m, format) {42if (!m) {43return monthsShortWithDots;44} else if (/-MMM-/.test(format)) {45return monthsShortWithoutDots[m.month()];46} else {47return monthsShortWithDots[m.month()];48}49},50
51monthsRegex: monthsRegex,52monthsShortRegex: monthsRegex,53monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,54monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,55
56monthsParse: monthsParse,57longMonthsParse: monthsParse,58shortMonthsParse: monthsParse,59
60weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split(61'_'62),63weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),64weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),65weekdaysParseExact: true,66longDateFormat: {67LT: 'HH:mm',68LTS: 'HH:mm:ss',69L: 'DD/MM/YYYY',70LL: 'D MMMM YYYY',71LLL: 'D MMMM YYYY HH:mm',72LLLL: 'dddd D MMMM YYYY HH:mm',73},74calendar: {75sameDay: '[vandaag om] LT',76nextDay: '[morgen om] LT',77nextWeek: 'dddd [om] LT',78lastDay: '[gisteren om] LT',79lastWeek: '[afgelopen] dddd [om] LT',80sameElse: 'L',81},82relativeTime: {83future: 'over %s',84past: '%s geleden',85s: 'een paar seconden',86ss: '%d seconden',87m: 'één minuut',88mm: '%d minuten',89h: 'één uur',90hh: '%d uur',91d: 'één dag',92dd: '%d dagen',93M: 'één maand',94MM: '%d maanden',95y: 'één jaar',96yy: '%d jaar',97},98dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,99ordinal: function (number) {100return (101number +102(number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')103);104},105week: {106dow: 1, // Monday is the first day of the week.107doy: 4, // The week that contains Jan 4th is the first week of the year.108},109});110
111return nlBe;112
113})));114