Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5974248
hy-am.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
hy-am.js
View Options
//! moment.js locale configuration
//! locale : Armenian [hy-am]
//! author : Armendarabyan : https://github.com/armendarabyan
;(
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
hyAm
=
moment
.
defineLocale
(
'hy-am'
,
{
months
:
{
format
:
'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'
.
split
(
'_'
),
standalone
:
'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'
.
split
(
'_'
),
},
monthsShort
:
'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'
.
split
(
'_'
),
weekdays
:
'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'
.
split
(
'_'
),
weekdaysShort
:
'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'
.
split
(
'_'
),
weekdaysMin
:
'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'
.
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
:
'[այսօր] LT'
,
nextDay
:
'[վաղը] LT'
,
lastDay
:
'[երեկ] LT'
,
nextWeek
:
function
()
{
return
'dddd [օրը ժամը] LT'
;
},
lastWeek
:
function
()
{
return
'[անցած] 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 տարի'
,
},
meridiemParse
:
/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/
,
isPM
:
function
(
input
)
{
return
/^(ցերեկվա|երեկոյան)$/
.
test
(
input
);
},
meridiem
:
function
(
hour
)
{
if
(
hour
<
4
)
{
return
'գիշերվա'
;
}
else
if
(
hour
<
12
)
{
return
'առավոտվա'
;
}
else
if
(
hour
<
17
)
{
return
'ցերեկվա'
;
}
else
{
return
'երեկոյան'
;
}
},
dayOfMonthOrdinalParse
:
/\d{1,2}|\d{1,2}-(ին|րդ)/
,
ordinal
:
function
(
number
,
period
)
{
switch
(
period
)
{
case
'DDD'
:
case
'w'
:
case
'W'
:
case
'DDDo'
:
if
(
number
===
1
)
{
return
number
+
'-ին'
;
}
return
number
+
'-րդ'
;
default
:
return
number
;
}
},
week
:
{
dow
:
1
,
// Monday is the first day of the week.
doy
:
7
,
// The week that contains Jan 7th is the first week of the year.
},
});
return
hyAm
;
})));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 17:14 (1 d, 7 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fe/1b/d197b7a1da0c4c59cf77f802293b
Default Alt Text
hy-am.js (3 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment