Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit 465db9b

Browse files
Merge pull request #525 from diwash007/event
fix event start and end date issue
2 parents 2050254 + 119d055 commit 465db9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: gsoc/common/utils/build_tasks.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ def build_add_event_to_calendar(builder):
215215
service = build("calendar", "v3", credentials=creds, cache_discovery=False)
216216
event = {
217217
"summary": data["title"],
218-
"start": {"date": data["date"]},
219-
"end": {"date": data["date"]},
218+
"start": {"date": data["start_date"]},
219+
"end": {"date": data["end_date"]},
220220
}
221221
cal_id = builder.timeline.calendar_id if builder.timeline else "primary"
222222
item = Event.objects.get(id=data["id"])

0 commit comments

Comments
 (0)