corrade-nucleus-nucleons – Blame information for rev 10
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
10 | office | 1 | //! moment.js locale configuration |
2 | //! locale : Italian [it] |
||
3 | //! author : Lorenzo : https://github.com/aliem |
||
4 | //! author: Mattia Larentis: https://github.com/nostalgiaz |
||
5 | |||
6 | import moment from '../moment'; |
||
7 | |||
8 | export default moment.defineLocale('it', { |
||
9 | months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'), |
||
10 | monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), |
||
11 | weekdays : 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'), |
||
12 | weekdaysShort : 'dom_lun_mar_mer_gio_ven_sab'.split('_'), |
||
13 | weekdaysMin : 'do_lu_ma_me_gi_ve_sa'.split('_'), |
||
14 | longDateFormat : { |
||
15 | LT : 'HH:mm', |
||
16 | LTS : 'HH:mm:ss', |
||
17 | L : 'DD/MM/YYYY', |
||
18 | LL : 'D MMMM YYYY', |
||
19 | LLL : 'D MMMM YYYY HH:mm', |
||
20 | LLLL : 'dddd, D MMMM YYYY HH:mm' |
||
21 | }, |
||
22 | calendar : { |
||
23 | sameDay: '[Oggi alle] LT', |
||
24 | nextDay: '[Domani alle] LT', |
||
25 | nextWeek: 'dddd [alle] LT', |
||
26 | lastDay: '[Ieri alle] LT', |
||
27 | lastWeek: function () { |
||
28 | switch (this.day()) { |
||
29 | case 0: |
||
30 | return '[la scorsa] dddd [alle] LT'; |
||
31 | default: |
||
32 | return '[lo scorso] dddd [alle] LT'; |
||
33 | } |
||
34 | }, |
||
35 | sameElse: 'L' |
||
36 | }, |
||
37 | relativeTime : { |
||
38 | future : function (s) { |
||
39 | return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s; |
||
40 | }, |
||
41 | past : '%s fa', |
||
42 | s : 'alcuni secondi', |
||
43 | m : 'un minuto', |
||
44 | mm : '%d minuti', |
||
45 | h : 'un\'ora', |
||
46 | hh : '%d ore', |
||
47 | d : 'un giorno', |
||
48 | dd : '%d giorni', |
||
49 | M : 'un mese', |
||
50 | MM : '%d mesi', |
||
51 | y : 'un anno', |
||
52 | yy : '%d anni' |
||
53 | }, |
||
54 | dayOfMonthOrdinalParse : /\d{1,2}º/, |
||
55 | ordinal: '%dº', |
||
56 | week : { |
||
57 | dow : 1, // Monday is the first day of the week. |
||
58 | doy : 4 // The week that contains Jan 4th is the first week of the year. |
||
59 | } |
||
60 | }); |
||
61 |