diff --git a/backend/backend_api/models.py b/backend/backend_api/models.py index a471002..1f27680 100644 --- a/backend/backend_api/models.py +++ b/backend/backend_api/models.py @@ -223,8 +223,8 @@ def google_calendar_link(self): base_url = "https://www.google.com/calendar/render?action=TEMPLATE" presentation_title = escape(self.name) presentation_description = escape(self.desc) - start_datetime = self.start_date.strftime("%Y%m%dT%H%M%S") - end_datetime = self.end_date.strftime("%Y%m%dT%H%M%S") + start_datetime = self.start_date.strftime("%Y%m%dT%H%M%SZ") + end_datetime = self.end_date.strftime("%Y%m%dT%H%M%SZ") presenters_names = " ".join([presenter.name for presenter in self.presenters.all()]) event_details = f"Presenters: {presenters_names}\nDescription: {presentation_description}"