2016-02-06 04:42:48 +08:00
|
|
|
|
//! moment.js locale configuration
|
2020-11-11 09:34:26 +08:00
|
|
|
|
//! locale : Chuvash [cv]
|
|
|
|
|
//! author : Anatoly Mironov : https://github.com/mirontoli
|
2014-08-21 02:41:50 +08:00
|
|
|
|
|
2016-02-06 04:42:48 +08:00
|
|
|
|
;(function (global, factory) {
|
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
2017-04-20 12:24:20 +08:00
|
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
2016-02-06 04:42:48 +08:00
|
|
|
|
factory(global.moment)
|
2017-04-20 12:24:20 +08:00
|
|
|
|
}(this, (function (moment) { 'use strict';
|
2016-02-06 04:42:48 +08:00
|
|
|
|
|
2020-11-11 09:34:26 +08:00
|
|
|
|
//! moment.js locale configuration
|
2016-02-06 04:42:48 +08:00
|
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
|
var cv = moment.defineLocale('cv', {
|
2020-11-11 09:34:26 +08:00
|
|
|
|
months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(
|
|
|
|
|
'_'
|
|
|
|
|
),
|
|
|
|
|
monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
|
|
|
|
|
weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(
|
|
|
|
|
'_'
|
|
|
|
|
),
|
|
|
|
|
weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
|
|
|
|
|
weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
|
|
|
|
|
longDateFormat: {
|
|
|
|
|
LT: 'HH:mm',
|
|
|
|
|
LTS: 'HH:mm:ss',
|
|
|
|
|
L: 'DD-MM-YYYY',
|
|
|
|
|
LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
|
|
|
|
|
LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
|
|
|
|
|
LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
|
2014-08-21 02:41:50 +08:00
|
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
|
calendar: {
|
2018-04-26 15:15:53 +08:00
|
|
|
|
sameDay: '[Паян] LT [сехетре]',
|
|
|
|
|
nextDay: '[Ыран] LT [сехетре]',
|
|
|
|
|
lastDay: '[Ӗнер] LT [сехетре]',
|
|
|
|
|
nextWeek: '[Ҫитес] dddd LT [сехетре]',
|
|
|
|
|
lastWeek: '[Иртнӗ] dddd LT [сехетре]',
|
2020-11-11 09:34:26 +08:00
|
|
|
|
sameElse: 'L',
|
2018-04-26 15:15:53 +08:00
|
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
|
relativeTime: {
|
|
|
|
|
future: function (output) {
|
|
|
|
|
var affix = /сехет$/i.exec(output)
|
|
|
|
|
? 'рен'
|
|
|
|
|
: /ҫул$/i.exec(output)
|
|
|
|
|
? 'тан'
|
|
|
|
|
: 'ран';
|
2018-04-26 15:15:53 +08:00
|
|
|
|
return output + affix;
|
|
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
|
past: '%s каялла',
|
|
|
|
|
s: 'пӗр-ик ҫеккунт',
|
|
|
|
|
ss: '%d ҫеккунт',
|
|
|
|
|
m: 'пӗр минут',
|
|
|
|
|
mm: '%d минут',
|
|
|
|
|
h: 'пӗр сехет',
|
|
|
|
|
hh: '%d сехет',
|
|
|
|
|
d: 'пӗр кун',
|
|
|
|
|
dd: '%d кун',
|
|
|
|
|
M: 'пӗр уйӑх',
|
|
|
|
|
MM: '%d уйӑх',
|
|
|
|
|
y: 'пӗр ҫул',
|
|
|
|
|
yy: '%d ҫул',
|
2018-04-26 15:15:53 +08:00
|
|
|
|
},
|
|
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
|
2020-11-11 09:34:26 +08:00
|
|
|
|
ordinal: '%d-мӗш',
|
|
|
|
|
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.
|
|
|
|
|
},
|
2018-04-26 15:15:53 +08:00
|
|
|
|
});
|
2016-02-06 04:42:48 +08:00
|
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
|
return cv;
|
2016-02-06 04:42:48 +08:00
|
|
|
|
|
2017-04-20 12:24:20 +08:00
|
|
|
|
})));
|