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

Support DATE values for UNTIL parts of recurrence rule #129

Merged
merged 1 commit into from
Nov 5, 2022
Merged

Conversation

allenporter
Copy link
Owner

@allenporter allenporter commented Nov 5, 2022

Support DATE values for UNTIL parts of recurrence rule e.g. RRULE:FREQ=DAILY;UNTIL=20220904

Issue #70
Issue home-assistant/core#81500
Issue home-assistant/core#81568

@allenporter allenporter merged commit 9732933 into main Nov 5, 2022
@hoanglongutc
Copy link

Hi, I checked the log with the following error, hope you can help me (I see the error related to recurrence rule):
ValueError: Invalid recurrence rule: {"id": "xxx", "ical_uuid": null, "summary": "xxx", "start": {"date": null, "date_time": "2023-03-17T08:00:00+07:00", "timezone": "Asia/Bangkok"}, "end": {"date": null, "date_time": "2023-03-17T09:00:00+07:00", "timezone": "Asia/Bangkok"}, "description": null, "location": null, "transparency": "opaque", "status": "confirmed", "event_type": "default", "visibility": "default", "attendees": [], "attendees_omitted": false, "recurrence": ["RDATE;TZID=Asia/Bangkok:20230317T080000,20240404T080000,20250325T080000,20260413T080000,20270402T080000,20280321T080000,20290409T080000,20300329T080000,20310318T080000,20320405T080000,20330326T080000,20340414T080000,20350404T080000,20360323T080000,20370411T080000,20380331T080000,20390320T080000,20400407T080000,20410327T080000,20420317T080000,20430405T080000,20440325T080000,20450413T080000,20460402T080000,20470322T080000,20480408T080000,20490329T080000,20500318T080000,20510406T080000,20520326T080000,20530414T080000,20540403T080000,20550323T080000,20560410T080000,20570330T080000,20580320T080000,20590408T080000,20600327T080000,20610317T080000,20620405T080000,20630325T080000,20640412T080000,20650401T080000,20660321T080000,20670409T080000,20680329T080000,20690318T080000,20700406T080000,20710327T080000,20720414T080000,20730403T080000,20740323T080000,20750411T080000,20760330T080000,20770320T080000,20780408T080000,20790328T080000,20800317T080000,20810404T080000,20820324T080000,20830412T080000,20840401T080000,20850321T080000,20860409T080000,20870330T080000,20880318T080000,20890406T080000,20900326T080000,20910414T080000,20920402T080000,20930322T080000,20940410T080000,20950331T080000,20960320T080000,20970408T080000,20980328T080000,20990317T080000,21000405T080000"], "recurring_event_id": null, "original_start_time": null}: unsupported RDATE parm: TZID=ASIA/BANGKOK

@allenporter
Copy link
Owner Author

Hi,
You're coming from home assistant? Then you should file a home assistant issue.. but from what you said, this PR should be fixing the issue in the home-assistant patch release. Commenting on the fix in another library isn't really the right way to discuss your issue, so keep your report within home assistant package please.

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

Successfully merging this pull request may close these issues.

2 participants