Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeating items shows up with wrong end_time #105

Open
jmgiaever opened this issue Aug 28, 2022 · 1 comment
Open

Repeating items shows up with wrong end_time #105

jmgiaever opened this issue Aug 28, 2022 · 1 comment

Comments

@jmgiaever
Copy link

Hi,

We have one repeating (every 4th week, reference as HIDDEN 1 in the iCal snipped below) item in our Google Calendar, and it shows up with the wrong end-date (end_time).

The calendar was first set to

start_time: 26-08-2022  00:00:00
end_time: 29-08-2022 00:00:00

(full-day) and end time ended up as 02-09-2022. Not sure how this happened, as there's no other event happing on this day, or in-between the 26-08-2022 and 02-09-2022.

Then I tried to edit it to

start_time: 26-08-2022 14:30:00 
end_time: 28-08-2022 18:00:00

and the end date is now 23-09-2022. This is the next upcoming event in this sequence. There is another event in-between, that is not a part of this repeating event from 31-08-2022 - 22-09-2022.

Here's the iCal entries.

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Visitors (private)
X-WR-TIMEZONE:Europe/Berlin
BEGIN:VTIMEZONE
TZID:Europe/Berlin
X-LIC-LOCATION:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Europe/Berlin:20220826T143000
DTEND;TZID=Europe/Berlin:20220827T180000
RRULE:FREQ=WEEKLY;WKST=SU;INTERVAL=4;BYDAY=FR
DTSTAMP:20220828T183449Z
UID:<id>@google.com
CREATED:20220828T142238Z
DESCRIPTION:
LAST-MODIFIED:20220828T180313Z
LOCATION:
SEQUENCE:1
STATUS:CONFIRMED
SUMMARY:HIDDEN 1
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20220831
DTEND;VALUE=DATE:20220923
DTSTAMP:20220828T183449Z
UID:<id>@google.com
CREATED:20220828T145709Z
DESCRIPTION:
LAST-MODIFIED:20220828T145709Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY: HIDDEN 2
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20220617
DTEND;VALUE=DATE:20220621
DTSTAMP:20220828T183449Z
UID:6orm8pj26pgm4bb364q3gb9k6phj8bb16gqjib9o6ss3gpb5c9h6ceb26c@google.com
CREATED:20220616T140759Z
DESCRIPTION:
LAST-MODIFIED:20220616T160605Z
LOCATION:
SEQUENCE:2
STATUS:CONFIRMED
@LordMike
Copy link

LordMike commented Sep 5, 2022

I might be seeing the same. I made an event for a yearly occurrence (birthday), and it shows up in HA with an event spanning a year. Created in Office 365, shows up correctly in Outlook. I'll also note that even though it was checked as a full day event, it shows up with full_day: false. :/

BEGIN:VEVENT
RRULE:FREQ=YEARLY;UNTIL=20230902T220000Z;INTERVAL=1;BYMONTHDAY=3;BYMONTH=9
UID:040000008200E00074C5B7101A82E00800000000217F8576E4BFD801000000000000000
 010000000A9ADAC2E884DAF459846EEB9A5F40E42
SUMMARY:Some birthday
DTSTART;VALUE=DATE:20220903
DTEND;VALUE=DATE:20220904
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20220905T164218Z
TRANSP:TRANSPARENT
STATUS:CONFIRMED
SEQUENCE:0
LOCATION:
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-INSTTYPE:1
X-MICROSOFT-DONOTFORWARDMEETING:FALSE
X-MICROSOFT-DISALLOW-COUNTER:FALSE
END:VEVENT

HA shows the following for my calendar entity:

start_time: '2022-09-03 00:00:00'
end_time: '2023-09-03 00:00:00'
all_day: false
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants