diff --git a/colloscope/icalexport.py b/colloscope/icalexport.py index d573563..cdef89a 100644 --- a/colloscope/icalexport.py +++ b/colloscope/icalexport.py @@ -36,8 +36,7 @@ def to_calendar(student, term, include_EDT: bool = True): summary = f"Colle {colle.slot.subject} ({colle.slot.colleur})" event.add("summary", summary) - start = colle.datetime - print(start) + start = colle.datetime.astimezone(pytz.timezone(LOCAL_TZ)) fin = start + colle.slot.duration event.add("dtstart", start)