Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5957341
dv.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
dv.js
View Options
//! moment.js locale configuration
//! locale : Maldivian [dv]
//! author : Jawish Hameed : https://github.com/jawish
;(
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
months
=
[
'ޖެނުއަރީ'
,
'ފެބްރުއަރީ'
,
'މާރިޗު'
,
'އޭޕްރީލު'
,
'މޭ'
,
'ޖޫން'
,
'ޖުލައި'
,
'އޯގަސްޓު'
,
'ސެޕްޓެމްބަރު'
,
'އޮކްޓޯބަރު'
,
'ނޮވެމްބަރު'
,
'ޑިސެމްބަރު'
,
],
weekdays
=
[
'އާދިއްތަ'
,
'ހޯމަ'
,
'އަންގާރަ'
,
'ބުދަ'
,
'ބުރާސްފަތި'
,
'ހުކުރު'
,
'ހޮނިހިރު'
,
];
var
dv
=
moment
.
defineLocale
(
'dv'
,
{
months
:
months
,
monthsShort
:
months
,
weekdays
:
weekdays
,
weekdaysShort
:
weekdays
,
weekdaysMin
:
'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'
.
split
(
'_'
),
longDateFormat
:
{
LT
:
'HH:mm'
,
LTS
:
'HH:mm:ss'
,
L
:
'D/M/YYYY'
,
LL
:
'D MMMM YYYY'
,
LLL
:
'D MMMM YYYY HH:mm'
,
LLLL
:
'dddd D MMMM YYYY HH:mm'
,
},
meridiemParse
:
/މކ|މފ/
,
isPM
:
function
(
input
)
{
return
'މފ'
===
input
;
},
meridiem
:
function
(
hour
,
minute
,
isLower
)
{
if
(
hour
<
12
)
{
return
'މކ'
;
}
else
{
return
'މފ'
;
}
},
calendar
:
{
sameDay
:
'[މިއަދު] LT'
,
nextDay
:
'[މާދަމާ] LT'
,
nextWeek
:
'dddd LT'
,
lastDay
:
'[އިއްޔެ] LT'
,
lastWeek
:
'[ފާއިތުވި] dddd LT'
,
sameElse
:
'L'
,
},
relativeTime
:
{
future
:
'ތެރޭގައި %s'
,
past
:
'ކުރިން %s'
,
s
:
'ސިކުންތުކޮޅެއް'
,
ss
:
'd% ސިކުންތު'
,
m
:
'މިނިޓެއް'
,
mm
:
'މިނިޓު %d'
,
h
:
'ގަޑިއިރެއް'
,
hh
:
'ގަޑިއިރު %d'
,
d
:
'ދުވަހެއް'
,
dd
:
'ދުވަސް %d'
,
M
:
'މަހެއް'
,
MM
:
'މަސް %d'
,
y
:
'އަހަރެއް'
,
yy
:
'އަހަރު %d'
,
},
preparse
:
function
(
string
)
{
return
string
.
replace
(
/،/g
,
','
);
},
postformat
:
function
(
string
)
{
return
string
.
replace
(
/,/g
,
'،'
);
},
week
:
{
dow
:
7
,
// Sunday is the first day of the week.
doy
:
12
,
// The week that contains Jan 12th is the first week of the year.
},
});
return
dv
;
})));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 05:03 (2 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4c/97/bbc34b9a7c3e632b69b393ee3576
Default Alt Text
dv.js (3 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment