1 // moment.js language configuration
2 // language : dutch (nl)
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(window.moment); // Browser 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.lang('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("_"),
33 LLL : "D MMMM YYYY LT",
34 LLLL : "dddd D MMMM YYYY LT"
37 sameDay: '[vandaag om] LT',
38 nextDay: '[morgen om] LT',
39 nextWeek: 'dddd [om] LT',
40 lastDay: '[gisteren om] LT',
41 lastWeek: '[afgelopen] dddd [om] LT',
47 s : "een paar seconden",
59 ordinal : function (number) {
60 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
63 dow : 1, // Monday is the first day of the week.
64 doy : 4 // The week that contains Jan 4th is the first week of the year.