d640f0cecda0b51513cb395171a97c2dc462d2cf
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
6 ;(function (global
, factory
) {
7 typeof exports
=== 'object' && typeof module
!== 'undefined'
8 && typeof require
=== 'function' ? factory(require('../moment')) :
9 typeof define
=== 'function' && define
.amd
? define(['../moment'], factory
) :
10 factory(global
.moment
)
11 }(this, (function (moment
) { 'use strict';
14 var monthsShortWithDots
= 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_');
15 var monthsShortWithoutDots
= 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
17 var monthsParse
= [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];
18 var monthsRegex
= /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
20 var nlBe
= moment
.defineLocale('nl-be', {
21 months
: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
22 monthsShort : function (m
, format
) {
24 return monthsShortWithDots
;
25 } else if (/-MMM-/.test(format
)) {
26 return monthsShortWithoutDots
[m
.month()];
28 return monthsShortWithDots
[m
.month()];
32 monthsRegex
: monthsRegex
,
33 monthsShortRegex
: monthsRegex
,
34 monthsStrictRegex
: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,
35 monthsShortStrictRegex
: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
37 monthsParse
: monthsParse
,
38 longMonthsParse
: monthsParse
,
39 shortMonthsParse
: monthsParse
,
41 weekdays
: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
42 weekdaysShort
: 'zo._ma._di._wo._do._vr._za.'.split('_'),
43 weekdaysMin
: 'zo_ma_di_wo_do_vr_za'.split('_'),
44 weekdaysParseExact
: true,
50 LLL
: 'D MMMM YYYY HH:mm',
51 LLLL
: 'dddd D MMMM YYYY HH:mm'
54 sameDay
: '[vandaag om] LT',
55 nextDay
: '[morgen om] LT',
56 nextWeek
: 'dddd [om] LT',
57 lastDay
: '[gisteren om] LT',
58 lastWeek
: '[afgelopen] dddd [om] LT',
64 s
: 'een paar seconden',
76 dayOfMonthOrdinalParse
: /\d{1,2}(ste|de)/,
77 ordinal : function (number
) {
78 return number
+ ((number
=== 1 || number
=== 8 || number
>= 20) ? 'ste' : 'de');
81 dow
: 1, // Monday is the first day of the week.
82 doy
: 4 // The week that contains Jan 4th is the first week of the year.