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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. //! moment.js locale configuration
  2. //! locale : German [de]
  3. //! author : lluchs : https://github.com/lluchs
  4. //! author: Menelion Elensúle: https://github.com/Oire
  5. //! author : Mikolaj Dadela : https://github.com/mik01aj
  6. ;(function (global, factory) {
  7. typeof exports === 'object' && typeof module !== 'undefined'
  8. && typeof require === 'function' ? factory(require('../moment')) :
  9. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  10. factory(global.moment)
  11. }(this, (function (moment) { 'use strict';
  12. //! moment.js locale configuration
  13. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  14. var format = {
  15. m: ['eine Minute', 'einer Minute'],
  16. h: ['eine Stunde', 'einer Stunde'],
  17. d: ['ein Tag', 'einem Tag'],
  18. dd: [number + ' Tage', number + ' Tagen'],
  19. w: ['eine Woche', 'einer Woche'],
  20. M: ['ein Monat', 'einem Monat'],
  21. MM: [number + ' Monate', number + ' Monaten'],
  22. y: ['ein Jahr', 'einem Jahr'],
  23. yy: [number + ' Jahre', number + ' Jahren'],
  24. };
  25. return withoutSuffix ? format[key][0] : format[key][1];
  26. }
  27. var de = moment.defineLocale('de', {
  28. months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  29. '_'
  30. ),
  31. monthsShort:
  32. 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
  33. monthsParseExact: true,
  34. weekdays:
  35. 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
  36. '_'
  37. ),
  38. weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  39. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  40. weekdaysParseExact: true,
  41. longDateFormat: {
  42. LT: 'HH:mm',
  43. LTS: 'HH:mm:ss',
  44. L: 'DD.MM.YYYY',
  45. LL: 'D. MMMM YYYY',
  46. LLL: 'D. MMMM YYYY HH:mm',
  47. LLLL: 'dddd, D. MMMM YYYY HH:mm',
  48. },
  49. calendar: {
  50. sameDay: '[heute um] LT [Uhr]',
  51. sameElse: 'L',
  52. nextDay: '[morgen um] LT [Uhr]',
  53. nextWeek: 'dddd [um] LT [Uhr]',
  54. lastDay: '[gestern um] LT [Uhr]',
  55. lastWeek: '[letzten] dddd [um] LT [Uhr]',
  56. },
  57. relativeTime: {
  58. future: 'in %s',
  59. past: 'vor %s',
  60. s: 'ein paar Sekunden',
  61. ss: '%d Sekunden',
  62. m: processRelativeTime,
  63. mm: '%d Minuten',
  64. h: processRelativeTime,
  65. hh: '%d Stunden',
  66. d: processRelativeTime,
  67. dd: processRelativeTime,
  68. w: processRelativeTime,
  69. ww: '%d Wochen',
  70. M: processRelativeTime,
  71. MM: processRelativeTime,
  72. y: processRelativeTime,
  73. yy: processRelativeTime,
  74. },
  75. dayOfMonthOrdinalParse: /\d{1,2}\./,
  76. ordinal: '%d.',
  77. week: {
  78. dow: 1, // Monday is the first day of the week.
  79. doy: 4, // The week that contains Jan 4th is the first week of the year.
  80. },
  81. });
  82. return de;
  83. })));