corrade-nucleus-nucleons – Blame information for rev 38

Subversion Repositories:
Rev:
Rev Author Line No. Line
38 office 1 //! moment.js locale configuration
2 //! locale : Dutch (Belgium) [nl-be]
3 //! author : Joris Röling : https://github.com/jorisroling
4 //! author : Jacob Middag : https://github.com/middagj
5  
6 import moment from '../moment';
7  
8 var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
9 monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
10  
11 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];
12 var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
13  
14 export default moment.defineLocale('nl-be', {
15 months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
16 monthsShort : function (m, format) {
17 if (!m) {
18 return monthsShortWithDots;
19 } else if (/-MMM-/.test(format)) {
20 return monthsShortWithoutDots[m.month()];
21 } else {
22 return monthsShortWithDots[m.month()];
23 }
24 },
25  
26 monthsRegex: monthsRegex,
27 monthsShortRegex: monthsRegex,
28 monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,
29 monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
30  
31 monthsParse : monthsParse,
32 longMonthsParse : monthsParse,
33 shortMonthsParse : monthsParse,
34  
35 weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
36 weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
37 weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'),
38 weekdaysParseExact : true,
39 longDateFormat : {
40 LT : 'HH:mm',
41 LTS : 'HH:mm:ss',
42 L : 'DD/MM/YYYY',
43 LL : 'D MMMM YYYY',
44 LLL : 'D MMMM YYYY HH:mm',
45 LLLL : 'dddd D MMMM YYYY HH:mm'
46 },
47 calendar : {
48 sameDay: '[vandaag om] LT',
49 nextDay: '[morgen om] LT',
50 nextWeek: 'dddd [om] LT',
51 lastDay: '[gisteren om] LT',
52 lastWeek: '[afgelopen] dddd [om] LT',
53 sameElse: 'L'
54 },
55 relativeTime : {
56 future : 'over %s',
57 past : '%s geleden',
58 s : 'een paar seconden',
59 m : 'één minuut',
60 mm : '%d minuten',
61 h : 'één uur',
62 hh : '%d uur',
63 d : 'één dag',
64 dd : '%d dagen',
65 M : 'één maand',
66 MM : '%d maanden',
67 y : 'één jaar',
68 yy : '%d jaar'
69 },
70 dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
71 ordinal : function (number) {
72 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
73 },
74 week : {
75 dow : 1, // Monday is the first day of the week.
76 doy : 4 // The week that contains Jan 4th is the first week of the year.
77 }
78 });
79