1 // moment.js locale configuration
3 // author : Joris Röling : https://github.com/jjupiter
6 if (typeof define
=== 'function' && define
.amd
) {
7 define(['moment'], factory
); // AMD
8 } else if (typeof exports
=== 'object') {
9 module
.exports
= factory(require('../moment')); // Node
11 factory((typeof global
!== 'undefined' ? global
: this).moment
); // node or other global
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 return moment
.defineLocale('nl', {
18 months
: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
19 monthsShort : function (m
, format
) {
20 if (/-MMM-/.test(format
)) {
21 return monthsShortWithoutDots
[m
.month()];
23 return monthsShortWithDots
[m
.month()];
26 weekdays
: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
27 weekdaysShort
: 'zo._ma._di._wo._do._vr._za.'.split('_'),
28 weekdaysMin
: 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'),
34 LLL
: 'D MMMM YYYY LT',
35 LLLL
: 'dddd D MMMM YYYY LT'
38 sameDay
: '[vandaag om] LT',
39 nextDay
: '[morgen om] LT',
40 nextWeek
: 'dddd [om] LT',
41 lastDay
: '[gisteren om] LT',
42 lastWeek
: '[afgelopen] dddd [om] LT',
48 s
: 'een paar seconden',
60 ordinalParse
: /\d{1,2}(ste|de)/,
61 ordinal : function (number
) {
62 return number
+ ((number
=== 1 || number
=== 8 || number
>= 20) ? 'ste' : 'de');
65 dow
: 1, // Monday is the first day of the week.
66 doy
: 4 // The week that contains Jan 4th is the first week of the year.