Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cv.js 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //! moment.js locale configuration
  2. //! locale : Chuvash [cv]
  3. //! author : Anatoly Mironov : https://github.com/mirontoli
  4. import moment from '../moment';
  5. export default moment.defineLocale('cv', {
  6. months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(
  7. '_'
  8. ),
  9. monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
  10. weekdays:
  11. 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(
  12. '_'
  13. ),
  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)
  35. ? 'рен'
  36. : /ҫул$/i.exec(output)
  37. ? 'тан'
  38. : 'ран';
  39. return output + affix;
  40. },
  41. past: '%s каялла',
  42. s: 'пӗр-ик ҫеккунт',
  43. ss: '%d ҫеккунт',
  44. m: 'пӗр минут',
  45. mm: '%d минут',
  46. h: 'пӗр сехет',
  47. hh: '%d сехет',
  48. d: 'пӗр кун',
  49. dd: '%d кун',
  50. M: 'пӗр уйӑх',
  51. MM: '%d уйӑх',
  52. y: 'пӗр ҫул',
  53. yy: '%d ҫул',
  54. },
  55. dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
  56. ordinal: '%d-мӗш',
  57. week: {
  58. dow: 1, // Monday is the first day of the week.
  59. doy: 7, // The week that contains Jan 7th is the first week of the year.
  60. },
  61. });