cv.js 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //! moment.js locale configuration
  2. //! locale : Chuvash [cv]
  3. //! author : Anatoly Mironov : https://github.com/mirontoli
  4. ;(function (global, factory) {
  5. typeof exports === 'object' && typeof module !== 'undefined'
  6. && typeof require === 'function' ? factory(require('../moment')) :
  7. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  8. factory(global.moment)
  9. }(this, (function (moment) { 'use strict';
  10. var cv = moment.defineLocale('cv', {
  11. months : 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'),
  12. monthsShort : 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
  13. weekdays : 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'),
  14. weekdaysShort : 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
  15. weekdaysMin : 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
  16. longDateFormat : {
  17. LT : 'HH:mm',
  18. LTS : 'HH:mm:ss',
  19. L : 'DD-MM-YYYY',
  20. LL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
  21. LLL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
  22. LLLL : 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm'
  23. },
  24. calendar : {
  25. sameDay: '[Паян] LT [сехетре]',
  26. nextDay: '[Ыран] LT [сехетре]',
  27. lastDay: '[Ӗнер] LT [сехетре]',
  28. nextWeek: '[Ҫитес] dddd LT [сехетре]',
  29. lastWeek: '[Иртнӗ] dddd LT [сехетре]',
  30. sameElse: 'L'
  31. },
  32. relativeTime : {
  33. future : function (output) {
  34. var affix = /сехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) ? 'тан' : 'ран';
  35. return output + affix;
  36. },
  37. past : '%s каялла',
  38. s : 'пӗр-ик ҫеккунт',
  39. m : 'пӗр минут',
  40. mm : '%d минут',
  41. h : 'пӗр сехет',
  42. hh : '%d сехет',
  43. d : 'пӗр кун',
  44. dd : '%d кун',
  45. M : 'пӗр уйӑх',
  46. MM : '%d уйӑх',
  47. y : 'пӗр ҫул',
  48. yy : '%d ҫул'
  49. },
  50. dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
  51. ordinal : '%d-мӗш',
  52. week : {
  53. dow : 1, // Monday is the first day of the week.
  54. doy : 7 // The week that contains Jan 1st is the first week of the year.
  55. }
  56. });
  57. return cv;
  58. })));