corrade-nucleus-nucleons – Blame information for rev 10

Subversion Repositories:
Rev:
Rev Author Line No. Line
10 office 1 //! moment.js locale configuration
2 //! locale : Catalan [ca]
3 //! author : Juan G. Hurtado : https://github.com/juanghurtado
4  
5 import moment from '../moment';
6  
7 export default moment.defineLocale('ca', {
8 months : {
9 standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'),
10 format: 'de gener_de febrer_de març_d\'abril_de maig_de juny_de juliol_d\'agost_de setembre_d\'octubre_de novembre_de desembre'.split('_'),
11 isFormat: /D[oD]?(\s)+MMMM/
12 },
13 monthsShort : 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split('_'),
14 monthsParseExact : true,
15 weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'),
16 weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
17 weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'),
18 weekdaysParseExact : true,
19 longDateFormat : {
20 LT : 'H:mm',
21 LTS : 'H:mm:ss',
22 L : 'DD/MM/YYYY',
23 LL : '[el] D MMMM [de] YYYY',
24 ll : 'D MMM YYYY',
25 LLL : '[el] D MMMM [de] YYYY [a les] H:mm',
26 lll : 'D MMM YYYY, H:mm',
27 LLLL : '[el] dddd D MMMM [de] YYYY [a les] H:mm',
28 llll : 'ddd D MMM YYYY, H:mm'
29 },
30 calendar : {
31 sameDay : function () {
32 return '[avui a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
33 },
34 nextDay : function () {
35 return '[demà a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
36 },
37 nextWeek : function () {
38 return 'dddd [a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
39 },
40 lastDay : function () {
41 return '[ahir a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
42 },
43 lastWeek : function () {
44 return '[el] dddd [passat a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
45 },
46 sameElse : 'L'
47 },
48 relativeTime : {
49 future : 'd\'aquí %s',
50 past : 'fa %s',
51 s : 'uns segons',
52 m : 'un minut',
53 mm : '%d minuts',
54 h : 'una hora',
55 hh : '%d hores',
56 d : 'un dia',
57 dd : '%d dies',
58 M : 'un mes',
59 MM : '%d mesos',
60 y : 'un any',
61 yy : '%d anys'
62 },
63 dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
64 ordinal : function (number, period) {
65 var output = (number === 1) ? 'r' :
66 (number === 2) ? 'n' :
67 (number === 3) ? 'r' :
68 (number === 4) ? 't' : 'è';
69 if (period === 'w' || period === 'W') {
70 output = 'a';
71 }
72 return number + output;
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