Merge "Don't fallback from uk to ru"
[lhc/web/wiklou.git] / resources / lib / moment / locale / nl.js
1 // moment.js locale configuration
2 // locale : dutch (nl)
3 // author : Joris Röling : https://github.com/jjupiter
4
5 (function (factory) {
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
11 } else {
12 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
13 }*/
14 factory(this.moment);
15 }(function (moment) {
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('_');
18
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()];
24 } else {
25 return monthsShortWithDots[m.month()];
26 }
27 },
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('_'),
31 longDateFormat : {
32 LT : 'HH:mm',
33 LTS : 'LT:ss',
34 L : 'DD-MM-YYYY',
35 LL : 'D MMMM YYYY',
36 LLL : 'D MMMM YYYY LT',
37 LLLL : 'dddd D MMMM YYYY LT'
38 },
39 calendar : {
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',
45 sameElse: 'L'
46 },
47 relativeTime : {
48 future : 'over %s',
49 past : '%s geleden',
50 s : 'een paar seconden',
51 m : 'één minuut',
52 mm : '%d minuten',
53 h : 'één uur',
54 hh : '%d uur',
55 d : 'één dag',
56 dd : '%d dagen',
57 M : 'één maand',
58 MM : '%d maanden',
59 y : 'één jaar',
60 yy : '%d jaar'
61 },
62 ordinalParse: /\d{1,2}(ste|de)/,
63 ordinal : function (number) {
64 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
65 },
66 week : {
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.
69 }
70 });
71 }));