1 // moment.js language configuration
2 // language : italian (it)
3 // author : Lorenzo : https://github.com/aliem
4 // author: Mattia Larentis: https://github.com/nostalgiaz
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
12 factory(window
.moment
); // Browser global
15 return moment
.lang('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("_"),
25 LLL
: "D MMMM YYYY LT",
26 LLLL
: "dddd, D MMMM YYYY LT"
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',
37 future : function (s
) {
38 return ((/^[0-9].+$/).test(s
) ? "tra" : "in") + " " + s
;
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.