maxblome/ioBroker.calendar

Events that took place in 2011 are reported for today and tomorrow and the following days

Opened this issue · 2 comments

Describe the bug
With #34 being fixed I now have calendar data available. But all days (except day 0) contain events that do not actually take place on the respective day.

The events in question are LKW Walter and .NET Open Space 2011.

Today:

[
    {
        "summary": "Event that really took place today",
        "description": "",
        "startTime": "2020-04-22T10:00:00+02:00",
        "endTime": "2020-04-22T15:00:00+02:00"
    },
    {
        "summary": " LKW Walter",
        "description": "",
        "startTime": "2020-04-22",
        "endTime": "2020-04-23T02:00:00+02:00"
    },
    {
        "summary": ".NET Open Space 2011",
        "description": "\\n",
        "startTime": "2020-04-22",
        "endTime": "2020-04-23T02:00:00+02:00"
    }
]

Tomorrow:

[
    {
        "summary": "Cloud Native Joint Virtual Meetup: A microxchg.io conference pre-event",
        "description": [
            "Wenn Sie detaillierte Informationen zu automatisch erstellten Terminen wie diesem sehen möchten\\",
            " nutzen Sie die offizielle Google Kalender-App. https://g.co/calendar"
        ],
        "startTime": "2020-04-23T16:00:00+02:00",
        "endTime": "2020-04-23T21:00:00+02:00"
    },
    {
        "summary": " LKW Walter",
        "description": "",
        "startTime": "2020-04-23",
        "endTime": "2020-04-24T02:00:00+02:00"
    },
    {
        "summary": ".NET Open Space 2011",
        "description": "\\n",
        "startTime": "2020-04-23",
        "endTime": "2020-04-24T02:00:00+02:00"
    }
]

Expected behavior
Events taking place in 2011 should not be reported for 2020.

Versions:

Could you send me the iCal data of the appointment?

Example:

START:VEVENT
...
END:VEVENT

You can either download the iCal file directly or switch the adapter to debug, then the data is displayed in the log.

BEGIN:VEVENT
DTSTART;VALUE=DATE:20111022
DTEND;VALUE=DATE:20111024
DTSTAMP:20200423T082638Z
ORGANIZER:mailto:someone@example.com
UID:lmebv3l58p1nspj5dsemn26kkc@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=foobar@example.com;X-NUM-GUESTS=0:mailto:foobar@example.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=Foo;X-NUM-GUESTS=0:mailto:foo@example.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=Bar;X-NUM-GUESTS=0:mailto:bar@example.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=Baz;X-NUM-GUESTS=0:mailto:baz@example.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;X-NUM-GUE
 STS=0:mailto:someone@example.com
CREATED:20110502T162832Z
DESCRIPTION:
LAST-MODIFIED:20111022T232318Z
LOCATION:Some street\, 12345 Some City
SEQUENCE:1
STATUS:CONFIRMED
SUMMARY:.NET Open Space 2011
TRANSP:OPAQUE
CATEGORIES:http://schemas.google.com/g/2005#event
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P0DT1H0M0S
END:VALARM
END:VEVENT