iobroker.ical 1.12.0 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -26,6 +26,9 @@ Siehe deutsche [Version hier](docs/de/README.md).
26
26
  Placeholder for the next version (at the beginning of the line):
27
27
  ### **WORK IN PROGRESS**
28
28
  -->
29
+ ### 1.12.1 (2022-03-22)
30
+ * (Apollon77) Adjust colorize of dates to also show dates started in the past with todays color
31
+
29
32
  ### 1.12.0 (2022-03-21)
30
33
  * (Apollon77/Scrounger) Add option to choose the ack flag set when updating foreign objects on events
31
34
  * (HSE83) use a color field from the calendar entry as color for display
package/io-package.json CHANGED
@@ -1,8 +1,20 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "ical",
4
- "version": "1.12.0",
4
+ "version": "1.12.1",
5
5
  "news": {
6
+ "1.12.1": {
7
+ "en": "Adjust colorize of dates to also show dates started in the past with todays color",
8
+ "de": "Passen Sie die Farbgebung von Daten an, um auch in der Vergangenheit begonnene Daten in der heutigen Farbe anzuzeigen",
9
+ "ru": "Отрегулируйте цвет дат, чтобы также отображать даты, начавшиеся в прошлом, с сегодняшним цветом",
10
+ "pt": "Ajuste a coloração das datas para também mostrar as datas iniciadas no passado com a cor de hoje",
11
+ "nl": "Pas de kleur van datums aan om ook datums weer te geven die in het verleden zijn begonnen met de kleur van vandaag",
12
+ "fr": "Ajustez la colorisation des dates pour afficher également les dates commencées dans le passé avec la couleur d'aujourd'hui",
13
+ "it": "Regola la colorazione delle date per mostrare anche le date iniziate in passato con il colore di oggi",
14
+ "es": "Ajuste el color de las fechas para mostrar también las fechas que comenzaron en el pasado con el color de hoy",
15
+ "pl": "Dostosuj kolorowanie dat, aby wyświetlać również daty rozpoczęte w przeszłości z dzisiejszym kolorem",
16
+ "zh-cn": "调整日期的颜色以使用今天的颜色显示过去开始的日期"
17
+ },
6
18
  "1.12.0": {
7
19
  "en": "Add option to choose the ack flag set when updating foreign objects on events\nuse a color field from the calendar entry as color for display\nWhen no Arrow for already running events is shown and dates are not replaced with words display the start date in the list and not the end date\nWhen not replacing date with words and entry ends at 0:0:0 show the day before as end\nFix issues when no end date is provided in the calendar entry (start and end are the same)\nCorrectly calculate length of multi day events\nRespect DST changes in some calculations to prevent strange effects\nParse ics Files with different line endings again",
8
20
  "de": "Option hinzugefügt, um das Ack-Flag auszuwählen, wenn Fremdobjekte bei Ereignissen aktualisiert werden\nVerwenden Sie ein Farbfeld aus dem Kalendereintrag als Farbe für die Anzeige\nWenn kein Pfeil für bereits laufende Ereignisse angezeigt wird und Datumsangaben nicht durch Wörter ersetzt werden, wird das Startdatum in der Liste und nicht das Enddatum angezeigt\nWenn das Datum nicht durch Wörter ersetzt wird und der Eintrag um 0:0:0 endet, wird der Vortag als Ende angezeigt\nBehebung von Problemen, wenn im Kalendereintrag kein Enddatum angegeben ist (Start und Ende sind gleich)\nBerechnen Sie die Länge von mehrtägigen Veranstaltungen richtig\nBeachten Sie bei einigen Berechnungen Sommerzeitänderungen, um seltsame Effekte zu vermeiden\nAnalysieren Sie ics-Dateien mit unterschiedlichen Zeilenenden erneut",
@@ -74,18 +86,6 @@
74
86
  "es": "Cambiar un logline para depurar",
75
87
  "pl": "Zmień jeden logline na debugowanie",
76
88
  "zh-cn": "更改一个日志行以进行调试"
77
- },
78
- "1.11.1": {
79
- "en": "Adjust date length for full day events to the full day",
80
- "de": "Passen Sie die Datumslänge für ganztägige Ereignisse an den ganzen Tag an",
81
- "ru": "Отрегулируйте длину даты для мероприятий на целый день до полного дня",
82
- "pt": "Ajuste a duração da data para eventos de dia inteiro para o dia inteiro",
83
- "nl": "Pas de datumlengte voor evenementen van een hele dag aan naar de hele dag",
84
- "fr": "Ajuster la durée de la date pour les événements d'une journée complète à la journée complète",
85
- "it": "Regola la durata della data per gli eventi dell'intera giornata sull'intera giornata",
86
- "es": "Ajustar la duración de la fecha para eventos de día completo al día completo",
87
- "pl": "Dostosuj długość daty dla wydarzeń całodniowych do pełnego dnia",
88
- "zh-cn": "将全天事件的日期长度调整为全天"
89
89
  }
90
90
  },
91
91
  "title": "iCal Calendar",
package/main.js CHANGED
@@ -614,7 +614,7 @@ function colorizeDates(date, today, tomorrow, dayafter, col, calName) {
614
614
  // colorize if needed
615
615
  if (adapter.config.colorize) {
616
616
  // today
617
- if (cmpDate.compare(today) === 0) {
617
+ if (cmpDate.compare(today) <= 0) {
618
618
  result.prefix = warn;
619
619
  // If configured every calendar has own color
620
620
  if (adapter.config.everyCalOneColor) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.ical",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "description": "Allows read information from google calender and from iCal.",
5
5
  "author": {
6
6
  "name": "bluefox",