-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
I have seen comments about how ICS doesn't include a time for each event. I was looking through the code to see how dates were pulled out for recurring events, but not times.
Is this exdate data ever used?
Lines 398 to 401 in 6b10656
for exdates in exdates_list: | |
for exdate in exdates.dts: | |
exdate_dt = datetime.datetime.combine(exdate.dt, datetime.time.min, tzinfo=dtstart.tzinfo) if not isinstance(exdate.dt, datetime.datetime) else exdate.dt | |
rset.exdate(exdate_dt) |
EDIT: The reason I ask is that I seem to be able to (as a debug method) write all the recurring event times to the log during the above code block, but I am not up to speed on the data structures enough to understand why they can't be included in each of the events created just after that:
Lines 403 to 406 in 6b10656
# Create an event for each repetition and add to the list: | |
for date in list(rset)[1:]: | |
self.add_item(UserRepeatedEvent(event.item_id, date.year, date.month, date.day, event.name, | |
event.status, event.privacy, event.calendar_number)) |
Metadata
Metadata
Assignees
Labels
No labels