-
Hello, I want to create an Event with Recurrence and exclude some dates. Event('Breakfast',
(1/Jan/2019)[9:00],
(1/Jan/2020)[9:00],
recurrence=[
Recurrence.rule(freq=DAILY),
Recurrence.exclude_rule(by_week_day=[SU, SA])
]) I ran it and it worked. Now I tried to exclude a certain date: Event(
summary="TEST EVENT",
start=date(2022, 8, 29),
recurrence=[
Recurrence.rule(freq=DAILY, until=date(2023, 9, 3)),
Recurrence.exclude_dates(date(2023, 9, 1))
],
) But sadly when it ran it created the event but did not exclude the date I provided. Is this a bug? Did I do something wrong? What can I do? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, thanks for the question. I've tried your code and it works as expected for me. Are you sure you are checking September the 1st of 2023? It is excluded from my calendar. |
Beta Was this translation helpful? Give feedback.
Hi, thanks for the question.
I've tried your code and it works as expected for me. Are you sure you are checking September the 1st of 2023? It is excluded from my calendar.