Merge "Improve docs for Title::getInternalURL/getCanonicalURL"
[lhc/web/wiklou.git] / resources / lib / moment / locale / fy.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._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
12 monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
13
14 var fy = moment.defineLocale('fy', {
15 months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.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 monthsParseExact : true,
26 weekdays : 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'),
27 weekdaysShort : 'si._mo._ti._wo._to._fr._so.'.split('_'),
28 weekdaysMin : 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
29 weekdaysParseExact : true,
30 longDateFormat : {
31 LT : 'HH:mm',
32 LTS : 'HH:mm:ss',
33 L : 'DD-MM-YYYY',
34 LL : 'D MMMM YYYY',
35 LLL : 'D MMMM YYYY HH:mm',
36 LLLL : 'dddd D MMMM YYYY HH:mm'
37 },
38 calendar : {
39 sameDay: '[hjoed om] LT',
40 nextDay: '[moarn om] LT',
41 nextWeek: 'dddd [om] LT',
42 lastDay: '[juster om] LT',
43 lastWeek: '[ôfrûne] dddd [om] LT',
44 sameElse: 'L'
45 },
46 relativeTime : {
47 future : 'oer %s',
48 past : '%s lyn',
49 s : 'in pear sekonden',
50 ss : '%d sekonden',
51 m : 'ien minút',
52 mm : '%d minuten',
53 h : 'ien oere',
54 hh : '%d oeren',
55 d : 'ien dei',
56 dd : '%d dagen',
57 M : 'ien moanne',
58 MM : '%d moannen',
59 y : 'ien jier',
60 yy : '%d jierren'
61 },
62 dayOfMonthOrdinalParse: /\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
72 return fy;
73
74 })));