Node-Red configuration
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. //! moment.js locale configuration
  2. //! locale : Talossan [tzl]
  3. //! author : Robin van der Vliet : https://github.com/robin0van0der0v
  4. //! author : Iustì Canun
  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) :
  9. factory(global.moment)
  10. }(this, (function (moment) { 'use strict';
  11. //! moment.js locale configuration
  12. // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
  13. // This is currently too difficult (maybe even impossible) to add.
  14. var tzl = moment.defineLocale('tzl', {
  15. months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(
  16. '_'
  17. ),
  18. monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
  19. weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
  20. weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
  21. weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
  22. longDateFormat: {
  23. LT: 'HH.mm',
  24. LTS: 'HH.mm.ss',
  25. L: 'DD.MM.YYYY',
  26. LL: 'D. MMMM [dallas] YYYY',
  27. LLL: 'D. MMMM [dallas] YYYY HH.mm',
  28. LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',
  29. },
  30. meridiemParse: /d\'o|d\'a/i,
  31. isPM: function (input) {
  32. return "d'o" === input.toLowerCase();
  33. },
  34. meridiem: function (hours, minutes, isLower) {
  35. if (hours > 11) {
  36. return isLower ? "d'o" : "D'O";
  37. } else {
  38. return isLower ? "d'a" : "D'A";
  39. }
  40. },
  41. calendar: {
  42. sameDay: '[oxhi à] LT',
  43. nextDay: '[demà à] LT',
  44. nextWeek: 'dddd [à] LT',
  45. lastDay: '[ieiri à] LT',
  46. lastWeek: '[sür el] dddd [lasteu à] LT',
  47. sameElse: 'L',
  48. },
  49. relativeTime: {
  50. future: 'osprei %s',
  51. past: 'ja%s',
  52. s: processRelativeTime,
  53. ss: processRelativeTime,
  54. m: processRelativeTime,
  55. mm: processRelativeTime,
  56. h: processRelativeTime,
  57. hh: processRelativeTime,
  58. d: processRelativeTime,
  59. dd: processRelativeTime,
  60. M: processRelativeTime,
  61. MM: processRelativeTime,
  62. y: processRelativeTime,
  63. yy: processRelativeTime,
  64. },
  65. dayOfMonthOrdinalParse: /\d{1,2}\./,
  66. ordinal: '%d.',
  67. week: {
  68. dow: 1, // Monday is the first day of the week.
  69. doy: 4, // The week that contains Jan 4th is the first week of the year.
  70. },
  71. });
  72. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  73. var format = {
  74. s: ['viensas secunds', "'iensas secunds"],
  75. ss: [number + ' secunds', '' + number + ' secunds'],
  76. m: ["'n míut", "'iens míut"],
  77. mm: [number + ' míuts', '' + number + ' míuts'],
  78. h: ["'n þora", "'iensa þora"],
  79. hh: [number + ' þoras', '' + number + ' þoras'],
  80. d: ["'n ziua", "'iensa ziua"],
  81. dd: [number + ' ziuas', '' + number + ' ziuas'],
  82. M: ["'n mes", "'iens mes"],
  83. MM: [number + ' mesen', '' + number + ' mesen'],
  84. y: ["'n ar", "'iens ar"],
  85. yy: [number + ' ars', '' + number + ' ars'],
  86. };
  87. return isFuture
  88. ? format[key][0]
  89. : withoutSuffix
  90. ? format[key][0]
  91. : format[key][1];
  92. }
  93. return tzl;
  94. })));