2015-05-05 03:10:25 +02:00
|
|
|
|
//! 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', {
|
2016-03-23 18:39:41 +01:00
|
|
|
|
months : 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'),
|
|
|
|
|
monthsShort : 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
|
|
|
|
|
weekdays : 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'),
|
|
|
|
|
weekdaysShort : 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
|
|
|
|
|
weekdaysMin : 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
|
2015-05-05 03:10:25 +02:00
|
|
|
|
longDateFormat : {
|
|
|
|
|
LT : 'HH:mm',
|
2016-03-23 18:39:41 +01:00
|
|
|
|
LTS : 'HH:mm:ss',
|
2015-05-05 03:10:25 +02:00
|
|
|
|
L : 'DD-MM-YYYY',
|
2016-03-23 18:39:41 +01:00
|
|
|
|
LL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
|
|
|
|
|
LLL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
|
|
|
|
|
LLLL : 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm'
|
2015-05-05 03:10:25 +02:00
|
|
|
|
},
|
|
|
|
|
calendar : {
|
|
|
|
|
sameDay: '[Паян] LT [сехетре]',
|
|
|
|
|
nextDay: '[Ыран] LT [сехетре]',
|
2016-03-23 18:39:41 +01:00
|
|
|
|
lastDay: '[Ӗнер] LT [сехетре]',
|
|
|
|
|
nextWeek: '[Ҫитес] dddd LT [сехетре]',
|
|
|
|
|
lastWeek: '[Иртнӗ] dddd LT [сехетре]',
|
2015-05-05 03:10:25 +02:00
|
|
|
|
sameElse: 'L'
|
|
|
|
|
},
|
|
|
|
|
relativeTime : {
|
|
|
|
|
future : function (output) {
|
2016-03-23 18:39:41 +01:00
|
|
|
|
var affix = /сехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) ? 'тан' : 'ран';
|
2015-05-05 03:10:25 +02:00
|
|
|
|
return output + affix;
|
|
|
|
|
},
|
|
|
|
|
past : '%s каялла',
|
2016-03-23 18:39:41 +01:00
|
|
|
|
s : 'пӗр-ик ҫеккунт',
|
|
|
|
|
m : 'пӗр минут',
|
2015-05-05 03:10:25 +02:00
|
|
|
|
mm : '%d минут',
|
2016-03-23 18:39:41 +01:00
|
|
|
|
h : 'пӗр сехет',
|
2015-05-05 03:10:25 +02:00
|
|
|
|
hh : '%d сехет',
|
2016-03-23 18:39:41 +01:00
|
|
|
|
d : 'пӗр кун',
|
2015-05-05 03:10:25 +02:00
|
|
|
|
dd : '%d кун',
|
2016-03-23 18:39:41 +01:00
|
|
|
|
M : 'пӗр уйӑх',
|
|
|
|
|
MM : '%d уйӑх',
|
|
|
|
|
y : 'пӗр ҫул',
|
|
|
|
|
yy : '%d ҫул'
|
2015-05-05 03:10:25 +02:00
|
|
|
|
},
|
2016-03-23 18:39:41 +01:00
|
|
|
|
ordinalParse: /\d{1,2}-мӗш/,
|
|
|
|
|
ordinal : '%d-мӗш',
|
2015-05-05 03:10:25 +02:00
|
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
}));
|