Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5974302
si.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
si.js
View Options
//! moment.js locale configuration
//! locale : Sinhalese [si]
//! author : Sampath Sitinamaluwa : https://github.com/sampathsris
;(
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
/*jshint -W100*/
var
si
=
moment
.
defineLocale
(
'si'
,
{
months
:
'ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'
.
split
(
'_'
),
monthsShort
:
'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'
.
split
(
'_'
),
weekdays
:
'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'
.
split
(
'_'
),
weekdaysShort
:
'ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන'
.
split
(
'_'
),
weekdaysMin
:
'ඉ_ස_අ_බ_බ්ර_සි_සෙ'
.
split
(
'_'
),
weekdaysParseExact
:
true
,
longDateFormat
:
{
LT
:
'a h:mm'
,
LTS
:
'a h:mm:ss'
,
L
:
'YYYY/MM/DD'
,
LL
:
'YYYY MMMM D'
,
LLL
:
'YYYY MMMM D, a h:mm'
,
LLLL
:
'YYYY MMMM D [වැනි] dddd, a h:mm:ss'
,
},
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'
,
},
dayOfMonthOrdinalParse
:
/\d{1,2} වැනි/
,
ordinal
:
function
(
number
)
{
return
number
+
' වැනි'
;
},
meridiemParse
:
/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./
,
isPM
:
function
(
input
)
{
return
input
===
'ප.ව.'
||
input
===
'පස් වරු'
;
},
meridiem
:
function
(
hours
,
minutes
,
isLower
)
{
if
(
hours
>
11
)
{
return
isLower
?
'ප.ව.'
:
'පස් වරු'
;
}
else
{
return
isLower
?
'පෙ.ව.'
:
'පෙර වරු'
;
}
},
});
return
si
;
})));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 17:17 (1 d, 7 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
eb/c0/0ddb89d0fb3e2d0cbe738bdd165e
Default Alt Text
si.js (3 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment