1// moment.js locale configuration 2// locale : dutch (nl) 3// author : Joris Röling : https://github.com/jjupiter 4 5(function (factory) { 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 10 } else { 11 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global 12 } 13}(function (moment) { 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('_'); 16 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()]; 22 } else { 23 return monthsShortWithDots[m.month()]; 24 } 25 }, 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('_'), 29 longDateFormat : { 30 LT : 'HH:mm', 31 LTS : 'LT:ss', 32 L : 'DD-MM-YYYY', 33 LL : 'D MMMM YYYY', 34 LLL : 'D MMMM YYYY LT', 35 LLLL : 'dddd D MMMM YYYY LT' 36 }, 37 calendar : { 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', 43 sameElse: 'L' 44 }, 45 relativeTime : { 46 future : 'over %s', 47 past : '%s geleden', 48 s : 'een paar seconden', 49 m : 'één minuut', 50 mm : '%d minuten', 51 h : 'één uur', 52 hh : '%d uur', 53 d : 'één dag', 54 dd : '%d dagen', 55 M : 'één maand', 56 MM : '%d maanden', 57 y : 'één jaar', 58 yy : '%d jaar' 59 }, 60 ordinalParse: /\d{1,2}(ste|de)/, 61 ordinal : function (number) { 62 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); 63 }, 64 week : { 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. 67 } 68 }); 69}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.