You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
birthdays = calendar.get_events(query=q, include_recurring=True) # include_recurring=True will include repeated events on the result set.
56
+
birthdays = calendar.get_events(
57
+
include_recurring=True, # include_recurring=True will include repeated events on the result set.
58
+
start_recurring=start_q,
59
+
end_recurring=end_q,
60
+
)
56
61
57
62
for event in birthdays:
58
63
if event.subject =='George Best Birthday':
@@ -65,7 +70,10 @@ Working with Calendar instances:
65
70
66
71
1. Include_recurring=True:
67
72
68
-
It's important to know that when querying events with include_recurring=True (which is the default), it is required that you must provide a query parameter with the start and end attributes defined. Unlike when using include_recurring=False those attributes will NOT filter the data based on the operations you set on the query (greater_equal, less, etc.) but just filter the events start datetime between the provided start and end datetimes.
73
+
It's important to know that when querying events with include_recurring=True (which is the default),
74
+
it is required that you must provide start and end parameters, these may be simple date strings, python dates or individual queries.
75
+
Unlike when using include_recurring=False those attributes will NOT filter the data based on the operations you set on the query (greater_equal, less, etc.)
76
+
but just filter the events start datetime between the provided start and end datetimes.
0 commit comments