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(function (factory) { 7 if (typeof define === 'function' && define.amd) { 8 define(['moment'], factory); // AMD 9 } else if (typeof exports === 'object') { 10 module.exports = factory(require('../moment')); // Node 11 } else { 12 factory(window.moment); // Browser global 13 } 14}(function (moment) { 15 return moment.defineLocale('it', { 16 months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'), 17 monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), 18 weekdays : 'Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato'.split('_'), 19 weekdaysShort : 'Dom_Lun_Mar_Mer_Gio_Ven_Sab'.split('_'), 20 weekdaysMin : 'D_L_Ma_Me_G_V_S'.split('_'), 21 longDateFormat : { 22 LT : 'HH:mm', 23 L : 'DD/MM/YYYY', 24 LL : 'D MMMM YYYY', 25 LLL : 'D MMMM YYYY LT', 26 LLLL : 'dddd, D MMMM YYYY LT' 27 }, 28 calendar : { 29 sameDay: '[Oggi alle] LT', 30 nextDay: '[Domani alle] LT', 31 nextWeek: 'dddd [alle] LT', 32 lastDay: '[Ieri alle] LT', 33 lastWeek: '[lo scorso] dddd [alle] LT', 34 sameElse: 'L' 35 }, 36 relativeTime : { 37 future : function (s) { 38 return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s; 39 }, 40 past : '%s fa', 41 s : 'alcuni secondi', 42 m : 'un minuto', 43 mm : '%d minuti', 44 h : 'un\'ora', 45 hh : '%d ore', 46 d : 'un giorno', 47 dd : '%d giorni', 48 M : 'un mese', 49 MM : '%d mesi', 50 y : 'un anno', 51 yy : '%d anni' 52 }, 53 ordinal: '%dº', 54 week : { 55 dow : 1, // Monday is the first day of the week. 56 doy : 4 // The week that contains Jan 4th is the first week of the year. 57 } 58 }); 59}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.