cv.js 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. //! moment.js locale configuration
  11. var cv = moment.defineLocale('cv', {
  12. months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(
  13. '_'
  14. ),
  15. monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
  16. weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(
  17. '_'
  18. ),
  19. weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
  20. weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
  21. longDateFormat: {
  22. LT: 'HH:mm',
  23. LTS: 'HH:mm:ss',
  24. L: 'DD-MM-YYYY',
  25. LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
  26. LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
  27. LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
  28. },
  29. calendar: {
  30. sameDay: '[Паян] LT [сехетре]',
  31. nextDay: '[Ыран] LT [сехетре]',
  32. lastDay: '[Ӗнер] LT [сехетре]',
  33. nextWeek: '[Ҫитес] dddd LT [сехетре]',
  34. lastWeek: '[Иртнӗ] dddd LT [сехетре]',
  35. sameElse: 'L',
  36. },
  37. relativeTime: {
  38. future: function (output) {
  39. var affix = /сехет$/i.exec(output)
  40. ? 'рен'
  41. : /ҫул$/i.exec(output)
  42. ? 'тан'
  43. : 'ран';
  44. return output + affix;
  45. },
  46. past: '%s каялла',
  47. s: 'пӗр-ик ҫеккунт',
  48. ss: '%d ҫеккунт',
  49. m: 'пӗр минут',
  50. mm: '%d минут',
  51. h: 'пӗр сехет',
  52. hh: '%d сехет',
  53. d: 'пӗр кун',
  54. dd: '%d кун',
  55. M: 'пӗр уйӑх',
  56. MM: '%d уйӑх',
  57. y: 'пӗр ҫул',
  58. yy: '%d ҫул',
  59. },
  60. dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
  61. ordinal: '%d-мӗш',
  62. week: {
  63. dow: 1, // Monday is the first day of the week.
  64. doy: 7, // The week that contains Jan 7th is the first week of the year.
  65. },
  66. });
  67. return cv;
  68. })));