1 // moment.js locale configuration
3 // author : Joris Röling : https://github.com/jjupiter
6 // Comment out broken wrapper, see T145382
7 /*if (typeof define === 'function' && define.amd) {
8 define(['moment'], factory); // AMD
9 } else if (typeof exports === 'object') {
10 module.exports = factory(require('../moment')); // Node
12 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
16 var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
17 monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
19 return moment.defineLocale('nl', {
20 months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
21 monthsShort : function (m, format) {
22 if (/-MMM-/.test(format)) {
23 return monthsShortWithoutDots[m.month()];
25 return monthsShortWithDots[m.month()];
28 weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
29 weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
30 weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'),
36 LLL : 'D MMMM YYYY LT',
37 LLLL : 'dddd D MMMM YYYY LT'
40 sameDay: '[vandaag om] LT',
41 nextDay: '[morgen om] LT',
42 nextWeek: 'dddd [om] LT',
43 lastDay: '[gisteren om] LT',
44 lastWeek: '[afgelopen] dddd [om] LT',
50 s : 'een paar seconden',
62 ordinalParse: /\d{1,2}(ste|de)/,
63 ordinal : function (number) {
64 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
67 dow : 1, // Monday is the first day of the week.
68 doy : 4 // The week that contains Jan 4th is the first week of the year.