1 //! moment.js locale configuration
3 ;(function (global
, factory
) {
4 typeof exports
=== 'object' && typeof module
!== 'undefined'
5 && typeof require
=== 'function' ? factory(require('../moment')) :
6 typeof define
=== 'function' && define
.amd
? define(['../moment'], factory
) :
8 }(this, (function (moment
) { 'use strict';
11 var monthsShortWithDots
= 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
12 monthsShortWithoutDots
= 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
14 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];
15 var monthsRegex
= /^(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;
17 var nl
= moment
.defineLocale('nl', {
18 months
: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
19 monthsShort : function (m
, format
) {
21 return monthsShortWithDots
;
22 } else if (/-MMM-/.test(format
)) {
23 return monthsShortWithoutDots
[m
.month()];
25 return monthsShortWithDots
[m
.month()];
29 monthsRegex
: monthsRegex
,
30 monthsShortRegex
: monthsRegex
,
31 monthsStrictRegex
: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
32 monthsShortStrictRegex
: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
34 monthsParse
: monthsParse
,
35 longMonthsParse
: monthsParse
,
36 shortMonthsParse
: monthsParse
,
38 weekdays
: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
39 weekdaysShort
: 'zo._ma._di._wo._do._vr._za.'.split('_'),
40 weekdaysMin
: 'zo_ma_di_wo_do_vr_za'.split('_'),
41 weekdaysParseExact
: true,
47 LLL
: 'D MMMM YYYY HH:mm',
48 LLLL
: 'dddd D MMMM YYYY HH:mm'
51 sameDay
: '[vandaag om] LT',
52 nextDay
: '[morgen om] LT',
53 nextWeek
: 'dddd [om] LT',
54 lastDay
: '[gisteren om] LT',
55 lastWeek
: '[afgelopen] dddd [om] LT',
61 s
: 'een paar seconden',
74 dayOfMonthOrdinalParse
: /\d{1,2}(ste|de)/,
75 ordinal : function (number
) {
76 return number
+ ((number
=== 1 || number
=== 8 || number
>= 20) ? 'ste' : 'de');
79 dow
: 1, // Monday is the first day of the week.
80 doy
: 4 // The week that contains Jan 4th is the first week of the year.