UNPKG

778 BJavaScriptView Raw
1// Italian (Switzerland) [it-ch]
2import dayjs from '../index';
3var locale = {
4 name: 'it-ch',
5 weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'),
6 months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
7 weekStart: 1,
8 weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
9 monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
10 weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
11 ordinal: function ordinal(n) {
12 return n;
13 },
14 formats: {
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};
23dayjs.locale(locale, null, true);
24export default locale;
\No newline at end of file