Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4105778
it.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
it.js
View Options
//! moment.js locale configuration
//! locale : Italian [it]
//! author : Lorenzo : https://github.com/aliem
//! author: Mattia Larentis: https://github.com/nostalgiaz
//! author: Marco : https://github.com/Manfre98
;(
function
(
global
,
factory
)
{
typeof
exports
===
'object'
&&
typeof
module
!==
'undefined'
&&
typeof
require
===
'function'
?
factory
(
require
(
'../moment'
))
:
typeof
define
===
'function'
&&
define
.
amd
?
define
([
'../moment'
],
factory
)
:
factory
(
global
.
moment
)
}(
this
,
(
function
(
moment
)
{
'use strict'
;
//! moment.js locale configuration
var
it
=
moment
.
defineLocale
(
'it'
,
{
months
:
'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'
.
split
(
'_'
),
monthsShort
:
'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'
.
split
(
'_'
),
weekdays
:
'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'
.
split
(
'_'
),
weekdaysShort
:
'dom_lun_mar_mer_gio_ven_sab'
.
split
(
'_'
),
weekdaysMin
:
'do_lu_ma_me_gi_ve_sa'
.
split
(
'_'
),
longDateFormat
:
{
LT
:
'HH:mm'
,
LTS
:
'HH:mm:ss'
,
L
:
'DD/MM/YYYY'
,
LL
:
'D MMMM YYYY'
,
LLL
:
'D MMMM YYYY HH:mm'
,
LLLL
:
'dddd D MMMM YYYY HH:mm'
,
},
calendar
:
{
sameDay
:
function
()
{
return
(
'[Oggi a'
+
(
this
.
hours
()
>
1
?
'lle '
:
this
.
hours
()
===
0
?
' '
:
"ll'"
)
+
']LT'
);
},
nextDay
:
function
()
{
return
(
'[Domani a'
+
(
this
.
hours
()
>
1
?
'lle '
:
this
.
hours
()
===
0
?
' '
:
"ll'"
)
+
']LT'
);
},
nextWeek
:
function
()
{
return
(
'dddd [a'
+
(
this
.
hours
()
>
1
?
'lle '
:
this
.
hours
()
===
0
?
' '
:
"ll'"
)
+
']LT'
);
},
lastDay
:
function
()
{
return
(
'[Ieri a'
+
(
this
.
hours
()
>
1
?
'lle '
:
this
.
hours
()
===
0
?
' '
:
"ll'"
)
+
']LT'
);
},
lastWeek
:
function
()
{
switch
(
this
.
day
())
{
case
0
:
return
(
'[La scorsa] dddd [a'
+
(
this
.
hours
()
>
1
?
'lle '
:
this
.
hours
()
===
0
?
' '
:
"ll'"
)
+
']LT'
);
default
:
return
(
'[Lo scorso] dddd [a'
+
(
this
.
hours
()
>
1
?
'lle '
:
this
.
hours
()
===
0
?
' '
:
"ll'"
)
+
']LT'
);
}
},
sameElse
:
'L'
,
},
relativeTime
:
{
future
:
function
(
s
)
{
return
(
/^[0-9].+$/
.
test
(
s
)
?
'tra'
:
'in'
)
+
' '
+
s
;
},
past
:
'%s fa'
,
s
:
'alcuni secondi'
,
ss
:
'%d secondi'
,
m
:
'un minuto'
,
mm
:
'%d minuti'
,
h
:
"un'ora"
,
hh
:
'%d ore'
,
d
:
'un giorno'
,
dd
:
'%d giorni'
,
M
:
'un mese'
,
MM
:
'%d mesi'
,
y
:
'un anno'
,
yy
:
'%d anni'
,
},
dayOfMonthOrdinalParse
:
/\d{1,2}º/
,
ordinal
:
'%dº'
,
week
:
{
dow
:
1
,
// Monday is the first day of the week.
doy
:
4
,
// The week that contains Jan 4th is the first week of the year.
},
});
return
it
;
})));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 19:09 (2 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
56/69/e3070113ab4ed3e03d15450d2f07
Default Alt Text
it.js (3 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment