1 //! moment.js locale configuration
2 //! locale : dutch (nl)
3 //! author : Joris Röling : https://github.com/jjupiter
5 import moment from '../moment';
7 var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
8 monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
10 export default moment.defineLocale('nl', {
11 months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
12 monthsShort : function (m, format) {
13 if (/-MMM-/.test(format)) {
14 return monthsShortWithoutDots[m.month()];
16 return monthsShortWithDots[m.month()];
19 monthsParseExact : true,
20 weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
21 weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
22 weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'),
23 weekdaysParseExact : true,
29 LLL : 'D MMMM YYYY HH:mm',
30 LLLL : 'dddd D MMMM YYYY HH:mm'
33 sameDay: '[vandaag om] LT',
34 nextDay: '[morgen om] LT',
35 nextWeek: 'dddd [om] LT',
36 lastDay: '[gisteren om] LT',
37 lastWeek: '[afgelopen] dddd [om] LT',
43 s : 'een paar seconden',
55 ordinalParse: /\d{1,2}(ste|de)/,
56 ordinal : function (number) {
57 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
60 dow : 1, // Monday is the first day of the week.
61 doy : 4 // The week that contains Jan 4th is the first week of the year.