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 //! author: Marco : https://github.com/Manfre98
7 ;(function (global, factory) {
8 typeof exports === 'object' && typeof module !== 'undefined'
9 && typeof require === 'function' ? factory(require('../moment')) :
10 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
11 factory(global.moment)
12 }(this, (function (moment) { 'use strict';
14 //! moment.js locale configuration
16 var it = moment.defineLocale('it', {
17 months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
20 monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
21 weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
24 weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
25 weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
31 LLL: 'D MMMM YYYY HH:mm',
32 LLLL: 'dddd D MMMM YYYY HH:mm',
35 sameDay: function () {
38 (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
42 nextDay: function () {
45 (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
49 nextWeek: function () {
52 (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
56 lastDay: function () {
59 (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
63 lastWeek: function () {
67 '[La scorsa] dddd [a' +
77 '[Lo scorso] dddd [a' +
90 future: function (s) {
91 return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;
107 dayOfMonthOrdinalParse: /\d{1,2}º/,
110 dow: 1, // Monday is the first day of the week.
111 doy: 4, // The week that contains Jan 4th is the first week of the year.