1 //! moment.js locale configuration
2 //! locale : italian (it)
3 //! author : Lorenzo : https://github.com/aliem
4 //! author: Mattia Larentis: https://github.com/nostalgiaz
6 ;(function (global, factory) {
7 typeof exports === 'object' && typeof module !== 'undefined'
8 && typeof require === 'function' ? factory(require('../moment')) :
9 typeof define === 'function' && define.amd ? define(['moment'], factory) :
10 factory(global.moment)
11 }(this, function (moment) { 'use strict';
14 var it = moment.defineLocale('it', {
15 months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
16 monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
17 weekdays : 'Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato'.split('_'),
18 weekdaysShort : 'Dom_Lun_Mar_Mer_Gio_Ven_Sab'.split('_'),
19 weekdaysMin : 'Do_Lu_Ma_Me_Gi_Ve_Sa'.split('_'),
25 LLL : 'D MMMM YYYY HH:mm',
26 LLLL : 'dddd, D MMMM YYYY HH:mm'
29 sameDay: '[Oggi alle] LT',
30 nextDay: '[Domani alle] LT',
31 nextWeek: 'dddd [alle] LT',
32 lastDay: '[Ieri alle] LT',
33 lastWeek: function () {
36 return '[la scorsa] dddd [alle] LT';
38 return '[lo scorso] dddd [alle] LT';
44 future : function (s) {
45 return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s;
60 ordinalParse : /\d{1,2}º/,
63 dow : 1, // Monday is the first day of the week.
64 doy : 4 // The week that contains Jan 4th is the first week of the year.