1 //! moment.js locale configuration
2 //! locale : Italian (Switzerland) [it-ch]
3 //! author : xfh : https://github.com/xfh
5 ;(function (global, factory) {
6 typeof exports === 'object' && typeof module !== 'undefined'
7 && typeof require === 'function' ? factory(require('../moment')) :
8 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10 }(this, (function (moment) { 'use strict';
12 //! moment.js locale configuration
14 var itCh = moment.defineLocale('it-ch', {
15 months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
18 monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
19 weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
22 weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
23 weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
29 LLL: 'D MMMM YYYY HH:mm',
30 LLLL: 'dddd D MMMM YYYY HH:mm',
33 sameDay: '[Oggi alle] LT',
34 nextDay: '[Domani alle] LT',
35 nextWeek: 'dddd [alle] LT',
36 lastDay: '[Ieri alle] LT',
37 lastWeek: function () {
40 return '[la scorsa] dddd [alle] LT';
42 return '[lo scorso] dddd [alle] LT';
48 future: function (s) {
49 return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;
65 dayOfMonthOrdinalParse: /\d{1,2}º/,
68 dow: 1, // Monday is the first day of the week.
69 doy: 4, // The week that contains Jan 4th is the first week of the year.