Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AlirezaYousefpourM authored Jan 14, 2025
1 parent bfab742 commit 7affe68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/backend_api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 7affe68

Please sign in to comment.