//! moment.js locale configuration
//! locale : Armenian (hy-am)
//! author : Armendarabyan : https://github.com/armendarabyan
import moment from '../moment';
export default 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 : '?? ???? ????????',
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 '????????';
}
},
ordinalParse: /\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 1st is the first week of the year.
}
});
|