You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.6 KiB
62 lines
2.6 KiB
//! moment.js locale configuration
|
|
//! locale : chuvash (cv)
|
|
//! author : Anatoly Mironov : https://github.com/mirontoli
|
|
|
|
(function (global, factory) {
|
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
|
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
|
factory(global.moment)
|
|
}(this, function (moment) { 'use strict';
|
|
|
|
|
|
var cv = moment.defineLocale('cv', {
|
|
months : 'кăрлач_нарăс_пуш_ака_май_çĕртме_утă_çурла_авăн_юпа_чӳк_раштав'.split('_'),
|
|
monthsShort : 'кăр_нар_пуш_ака_май_çĕр_утă_çур_ав_юпа_чӳк_раш'.split('_'),
|
|
weekdays : 'вырсарникун_тунтикун_ытларикун_юнкун_кĕçнерникун_эрнекун_шăматкун'.split('_'),
|
|
weekdaysShort : 'выр_тун_ытл_юн_кĕç_эрн_шăм'.split('_'),
|
|
weekdaysMin : 'вр_тн_ыт_юн_кç_эр_шм'.split('_'),
|
|
longDateFormat : {
|
|
LT : 'HH:mm',
|
|
LTS : 'LT:ss',
|
|
L : 'DD-MM-YYYY',
|
|
LL : 'YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ]',
|
|
LLL : 'YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT',
|
|
LLLL : 'dddd, YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT'
|
|
},
|
|
calendar : {
|
|
sameDay: '[Паян] LT [сехетре]',
|
|
nextDay: '[Ыран] LT [сехетре]',
|
|
lastDay: '[Ĕнер] LT [сехетре]',
|
|
nextWeek: '[Çитес] dddd LT [сехетре]',
|
|
lastWeek: '[Иртнĕ] dddd LT [сехетре]',
|
|
sameElse: 'L'
|
|
},
|
|
relativeTime : {
|
|
future : function (output) {
|
|
var affix = /сехет$/i.exec(output) ? 'рен' : /çул$/i.exec(output) ? 'тан' : 'ран';
|
|
return output + affix;
|
|
},
|
|
past : '%s каялла',
|
|
s : 'пĕр-ик çеккунт',
|
|
m : 'пĕр минут',
|
|
mm : '%d минут',
|
|
h : 'пĕр сехет',
|
|
hh : '%d сехет',
|
|
d : 'пĕр кун',
|
|
dd : '%d кун',
|
|
M : 'пĕр уйăх',
|
|
MM : '%d уйăх',
|
|
y : 'пĕр çул',
|
|
yy : '%d çул'
|
|
},
|
|
ordinalParse: /\d{1,2}-мĕш/,
|
|
ordinal : '%d-мĕш',
|
|
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.
|
|
}
|
|
});
|
|
|
|
return cv;
|
|
|
|
}));
|