Merge "Revert "Use display name in category page subheadings if provided""
[lhc/web/wiklou.git] / resources / lib / moment / locale / it.js
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
6 (function (factory) {
7 // Comment out broken wrapper, see T145382
8 /*if (typeof define === 'function' && define.amd) {
9 define(['moment'], factory); // AMD
10 } else if (typeof exports === 'object') {
11 module.exports = factory(require('../moment')); // Node
12 } else {
13 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
14 }*/
15 factory(this.moment);
16 }(function (moment) {
17 return moment.defineLocale('it', {
18 months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
19 monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
20 weekdays : 'Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato'.split('_'),
21 weekdaysShort : 'Dom_Lun_Mar_Mer_Gio_Ven_Sab'.split('_'),
22 weekdaysMin : 'D_L_Ma_Me_G_V_S'.split('_'),
23 longDateFormat : {
24 LT : 'HH:mm',
25 LTS : 'LT:ss',
26 L : 'DD/MM/YYYY',
27 LL : 'D MMMM YYYY',
28 LLL : 'D MMMM YYYY LT',
29 LLLL : 'dddd, D MMMM YYYY LT'
30 },
31 calendar : {
32 sameDay: '[Oggi alle] LT',
33 nextDay: '[Domani alle] LT',
34 nextWeek: 'dddd [alle] LT',
35 lastDay: '[Ieri alle] LT',
36 lastWeek: function () {
37 switch (this.day()) {
38 case 0:
39 return '[la scorsa] dddd [alle] LT';
40 default:
41 return '[lo scorso] dddd [alle] LT';
42 }
43 },
44 sameElse: 'L'
45 },
46 relativeTime : {
47 future : function (s) {
48 return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s;
49 },
50 past : '%s fa',
51 s : 'alcuni secondi',
52 m : 'un minuto',
53 mm : '%d minuti',
54 h : 'un\'ora',
55 hh : '%d ore',
56 d : 'un giorno',
57 dd : '%d giorni',
58 M : 'un mese',
59 MM : '%d mesi',
60 y : 'un anno',
61 yy : '%d anni'
62 },
63 ordinalParse : /\d{1,2}º/,
64 ordinal: '%dº',
65 week : {
66 dow : 1, // Monday is the first day of the week.
67 doy : 4 // The week that contains Jan 4th is the first week of the year.
68 }
69 });
70 }));