1 //! moment.js locale configuration
2 //! locale : Chuvash [cv]
3 //! author : Anatoly Mironov : https://github.com/mirontoli
5 ;(function (global
, factory
) {
6 typeof exports
=== 'object' && typeof module
!== 'undefined'
7 && typeof require
=== 'function' ? factory(require('../moment')) :
8 typeof define
=== 'function' && define
.amd
? define(['../moment'], factory
) :
10 }(this, function (moment
) { 'use strict';
13 var cv
= moment
.defineLocale('cv', {
14 months
: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'),
15 monthsShort
: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
16 weekdays
: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'),
17 weekdaysShort
: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
18 weekdaysMin
: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
23 LL
: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
24 LLL
: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
25 LLLL
: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm'
28 sameDay
: '[Паян] LT [сехетре]',
29 nextDay
: '[Ыран] LT [сехетре]',
30 lastDay
: '[Ӗнер] LT [сехетре]',
31 nextWeek
: '[Ҫитес] dddd LT [сехетре]',
32 lastWeek
: '[Иртнӗ] dddd LT [сехетре]',
36 future : function (output
) {
37 var affix
= /сехет$/i.exec(output
) ? 'рен' : /ҫул$/i.exec(output
) ? 'тан' : 'ран';
38 return output
+ affix
;
53 ordinalParse
: /\d{1,2}-мӗш/,
56 dow
: 1, // Monday is the first day of the week.
57 doy
: 7 // The week that contains Jan 1st is the first week of the year.