corrade-nucleus-nucleons – Blame information for rev 10
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
10 | office | 1 | //! moment.js locale configuration |
2 | //! locale : Frisian [fy] |
||
3 | //! author : Robin van der Vliet : https://github.com/robin0van0der0v |
||
4 | |||
5 | import moment from '../moment'; |
||
6 | |||
7 | var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'), |
||
8 | monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'); |
||
9 | |||
10 | export default moment.defineLocale('fy', { |
||
11 | months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'), |
||
12 | monthsShort : function (m, format) { |
||
13 | if (!m) { |
||
14 | return monthsShortWithDots; |
||
15 | } else if (/-MMM-/.test(format)) { |
||
16 | return monthsShortWithoutDots[m.month()]; |
||
17 | } else { |
||
18 | return monthsShortWithDots[m.month()]; |
||
19 | } |
||
20 | }, |
||
21 | monthsParseExact : true, |
||
22 | weekdays : 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'), |
||
23 | weekdaysShort : 'si._mo._ti._wo._to._fr._so.'.split('_'), |
||
24 | weekdaysMin : 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), |
||
25 | weekdaysParseExact : true, |
||
26 | longDateFormat : { |
||
27 | LT : 'HH:mm', |
||
28 | LTS : 'HH:mm:ss', |
||
29 | L : 'DD-MM-YYYY', |
||
30 | LL : 'D MMMM YYYY', |
||
31 | LLL : 'D MMMM YYYY HH:mm', |
||
32 | LLLL : 'dddd D MMMM YYYY HH:mm' |
||
33 | }, |
||
34 | calendar : { |
||
35 | sameDay: '[hjoed om] LT', |
||
36 | nextDay: '[moarn om] LT', |
||
37 | nextWeek: 'dddd [om] LT', |
||
38 | lastDay: '[juster om] LT', |
||
39 | lastWeek: '[ôfrûne] dddd [om] LT', |
||
40 | sameElse: 'L' |
||
41 | }, |
||
42 | relativeTime : { |
||
43 | future : 'oer %s', |
||
44 | past : '%s lyn', |
||
45 | s : 'in pear sekonden', |
||
46 | m : 'ien minút', |
||
47 | mm : '%d minuten', |
||
48 | h : 'ien oere', |
||
49 | hh : '%d oeren', |
||
50 | d : 'ien dei', |
||
51 | dd : '%d dagen', |
||
52 | M : 'ien moanne', |
||
53 | MM : '%d moannen', |
||
54 | y : 'ien jier', |
||
55 | yy : '%d jierren' |
||
56 | }, |
||
57 | dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, |
||
58 | ordinal : function (number) { |
||
59 | return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); |
||
60 | }, |
||
61 | week : { |
||
62 | dow : 1, // Monday is the first day of the week. |
||
63 | doy : 4 // The week that contains Jan 4th is the first week of the year. |
||
64 | } |
||
65 | }); |
||
66 |