Merge "Improve docs for Title::getInternalURL/getCanonicalURL"
[lhc/web/wiklou.git] / resources / lib / moment / locale / nl-be.js
1 //! moment.js locale configuration
2
3 ;(function (global, factory) {
4 typeof exports === 'object' && typeof module !== 'undefined'
5 && typeof require === 'function' ? factory(require('../moment')) :
6 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
7 factory(global.moment)
8 }(this, (function (moment) { 'use strict';
9
10
11 var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
12 monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
13
14 var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];
15 var monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
16
17 var nlBe = moment.defineLocale('nl-be', {
18 months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
19 monthsShort : function (m, format) {
20 if (!m) {
21 return monthsShortWithDots;
22 } else if (/-MMM-/.test(format)) {
23 return monthsShortWithoutDots[m.month()];
24 } else {
25 return monthsShortWithDots[m.month()];
26 }
27 },
28
29 monthsRegex: monthsRegex,
30 monthsShortRegex: monthsRegex,
31 monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
32 monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
33
34 monthsParse : monthsParse,
35 longMonthsParse : monthsParse,
36 shortMonthsParse : monthsParse,
37
38 weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
39 weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
40 weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'),
41 weekdaysParseExact : true,
42 longDateFormat : {
43 LT : 'HH:mm',
44 LTS : 'HH:mm:ss',
45 L : 'DD/MM/YYYY',
46 LL : 'D MMMM YYYY',
47 LLL : 'D MMMM YYYY HH:mm',
48 LLLL : 'dddd D MMMM YYYY HH:mm'
49 },
50 calendar : {
51 sameDay: '[vandaag om] LT',
52 nextDay: '[morgen om] LT',
53 nextWeek: 'dddd [om] LT',
54 lastDay: '[gisteren om] LT',
55 lastWeek: '[afgelopen] dddd [om] LT',
56 sameElse: 'L'
57 },
58 relativeTime : {
59 future : 'over %s',
60 past : '%s geleden',
61 s : 'een paar seconden',
62 ss : '%d seconden',
63 m : 'één minuut',
64 mm : '%d minuten',
65 h : 'één uur',
66 hh : '%d uur',
67 d : 'één dag',
68 dd : '%d dagen',
69 M : 'één maand',
70 MM : '%d maanden',
71 y : 'één jaar',
72 yy : '%d jaar'
73 },
74 dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
75 ordinal : function (number) {
76 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
77 },
78 week : {
79 dow : 1, // Monday is the first day of the week.
80 doy : 4 // The week that contains Jan 4th is the first week of the year.
81 }
82 });
83
84 return nlBe;
85
86 })));