2016-02-05 15:42:48 -05:00
|
|
|
//! moment.js locale configuration
|
2020-11-10 20:34:26 -05:00
|
|
|
//! locale : Dutch [nl]
|
|
|
|
//! author : Joris Röling : https://github.com/jorisroling
|
|
|
|
//! author : Jacob Middag : https://github.com/middagj
|
2013-06-07 04:03:09 -04:00
|
|
|
|
2016-02-05 15:42:48 -05:00
|
|
|
;(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
2017-04-20 00:24:20 -04:00
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
2016-02-05 15:42:48 -05:00
|
|
|
factory(global.moment)
|
2017-04-20 00:24:20 -04:00
|
|
|
}(this, (function (moment) { 'use strict';
|
2013-07-24 21:09:29 -04:00
|
|
|
|
2020-11-10 20:34:26 -05:00
|
|
|
//! moment.js locale configuration
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2022-04-11 13:27:24 -04:00
|
|
|
var monthsShortWithDots =
|
|
|
|
'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
|
|
|
|
monthsShortWithoutDots =
|
|
|
|
'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
|
2020-11-10 20:34:26 -05:00
|
|
|
monthsParse = [
|
|
|
|
/^jan/i,
|
|
|
|
/^feb/i,
|
2024-03-10 22:04:51 -04:00
|
|
|
/^(maart|mrt\.?)$/i,
|
2020-11-10 20:34:26 -05:00
|
|
|
/^apr/i,
|
|
|
|
/^mei$/i,
|
|
|
|
/^jun[i.]?$/i,
|
|
|
|
/^jul[i.]?$/i,
|
|
|
|
/^aug/i,
|
|
|
|
/^sep/i,
|
|
|
|
/^okt/i,
|
|
|
|
/^nov/i,
|
|
|
|
/^dec/i,
|
|
|
|
],
|
2022-04-11 13:27:24 -04:00
|
|
|
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;
|
2017-04-20 00:24:20 -04:00
|
|
|
|
2018-04-26 03:15:53 -04:00
|
|
|
var nl = moment.defineLocale('nl', {
|
2020-11-10 20:34:26 -05:00
|
|
|
months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
|
|
|
|
'_'
|
|
|
|
),
|
|
|
|
monthsShort: function (m, format) {
|
2018-04-26 03:15:53 -04:00
|
|
|
if (!m) {
|
|
|
|
return monthsShortWithDots;
|
|
|
|
} else if (/-MMM-/.test(format)) {
|
|
|
|
return monthsShortWithoutDots[m.month()];
|
|
|
|
} else {
|
|
|
|
return monthsShortWithDots[m.month()];
|
|
|
|
}
|
|
|
|
},
|
2017-04-20 00:24:20 -04:00
|
|
|
|
2018-04-26 03:15:53 -04:00
|
|
|
monthsRegex: monthsRegex,
|
|
|
|
monthsShortRegex: monthsRegex,
|
2022-04-11 13:27:24 -04:00
|
|
|
monthsStrictRegex:
|
|
|
|
/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
|
|
|
|
monthsShortStrictRegex:
|
|
|
|
/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
|
2017-04-20 00:24:20 -04:00
|
|
|
|
2020-11-10 20:34:26 -05:00
|
|
|
monthsParse: monthsParse,
|
|
|
|
longMonthsParse: monthsParse,
|
|
|
|
shortMonthsParse: monthsParse,
|
2017-04-20 00:24:20 -04:00
|
|
|
|
2022-04-11 13:27:24 -04:00
|
|
|
weekdays:
|
|
|
|
'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
|
2020-11-10 20:34:26 -05:00
|
|
|
weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
|
|
|
|
weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
|
|
|
|
weekdaysParseExact: true,
|
|
|
|
longDateFormat: {
|
|
|
|
LT: 'HH:mm',
|
|
|
|
LTS: 'HH:mm:ss',
|
|
|
|
L: 'DD-MM-YYYY',
|
|
|
|
LL: 'D MMMM YYYY',
|
|
|
|
LLL: 'D MMMM YYYY HH:mm',
|
|
|
|
LLLL: 'dddd D MMMM YYYY HH:mm',
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
2020-11-10 20:34:26 -05:00
|
|
|
calendar: {
|
2018-04-26 03:15:53 -04:00
|
|
|
sameDay: '[vandaag om] LT',
|
|
|
|
nextDay: '[morgen om] LT',
|
|
|
|
nextWeek: 'dddd [om] LT',
|
|
|
|
lastDay: '[gisteren om] LT',
|
|
|
|
lastWeek: '[afgelopen] dddd [om] LT',
|
2020-11-10 20:34:26 -05:00
|
|
|
sameElse: 'L',
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
2020-11-10 20:34:26 -05:00
|
|
|
relativeTime: {
|
|
|
|
future: 'over %s',
|
|
|
|
past: '%s geleden',
|
|
|
|
s: 'een paar seconden',
|
|
|
|
ss: '%d seconden',
|
|
|
|
m: 'één minuut',
|
|
|
|
mm: '%d minuten',
|
|
|
|
h: 'één uur',
|
|
|
|
hh: '%d uur',
|
|
|
|
d: 'één dag',
|
|
|
|
dd: '%d dagen',
|
|
|
|
w: 'één week',
|
|
|
|
ww: '%d weken',
|
|
|
|
M: 'één maand',
|
|
|
|
MM: '%d maanden',
|
|
|
|
y: 'één jaar',
|
|
|
|
yy: '%d jaar',
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
2020-11-10 20:34:26 -05:00
|
|
|
ordinal: function (number) {
|
|
|
|
return (
|
|
|
|
number +
|
|
|
|
(number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
|
|
|
|
);
|
|
|
|
},
|
|
|
|
week: {
|
|
|
|
dow: 1, // Monday is the first day of the week.
|
|
|
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
|
|
|
});
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2018-04-26 03:15:53 -04:00
|
|
|
return nl;
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2017-04-20 00:24:20 -04:00
|
|
|
})));
|