1 //! moment.js locale configuration
2 //! locale : Dutch [nl]
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 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 nl
= moment
.defineLocale('nl', {
21 months
: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
22 monthsShort : function (m
, format
) {
23 if (/-MMM-/.test(format
)) {
24 return monthsShortWithoutDots
[m
.month()];
26 return monthsShortWithDots
[m
.month()];
30 monthsRegex
: monthsRegex
,
31 monthsShortRegex
: monthsRegex
,
32 monthsStrictRegex
: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,
33 monthsShortStrictRegex
: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
35 monthsParse
: monthsParse
,
36 longMonthsParse
: monthsParse
,
37 shortMonthsParse
: monthsParse
,
39 weekdays
: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
40 weekdaysShort
: 'zo._ma._di._wo._do._vr._za.'.split('_'),
41 weekdaysMin
: 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'),
42 weekdaysParseExact
: true,
48 LLL
: 'D MMMM YYYY HH:mm',
49 LLLL
: 'dddd D MMMM YYYY HH:mm'
52 sameDay
: '[vandaag om] LT',
53 nextDay
: '[morgen om] LT',
54 nextWeek
: 'dddd [om] LT',
55 lastDay
: '[gisteren om] LT',
56 lastWeek
: '[afgelopen] dddd [om] LT',
62 s
: 'een paar seconden',
74 ordinalParse
: /\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.