cv.js 2.8 KB

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