PageRenderTime 29ms CodeModel.GetById 15ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 1ms

/node_modules/moment/src/locale/it.js

https://bitbucket.org/coleman333/smartsite
JavaScript | 62 lines | 55 code | 3 blank | 4 comment | 1 complexity | 2160f1086dc16b2bff9098ce955a9a2a MD5 | raw file
 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
 6import moment from '../moment';
 7
 8export 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        ss : '%d secondi',
44        m : 'un minuto',
45        mm : '%d minuti',
46        h : 'un\'ora',
47        hh : '%d ore',
48        d : 'un giorno',
49        dd : '%d giorni',
50        M : 'un mese',
51        MM : '%d mesi',
52        y : 'un anno',
53        yy : '%d anni'
54    },
55    dayOfMonthOrdinalParse : /\d{1,2}º/,
56    ordinal: '%dº',
57    week : {
58        dow : 1, // Monday is the first day of the week.
59        doy : 4  // The week that contains Jan 4th is the first week of the year.
60    }
61});
62