Skip to content

Commit

Permalink
restore gcal event extendedProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Mar 24, 2021
1 parent a393af9 commit 99a5635
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,8 @@ v5.5.2
------

- fix: removed accidental ical.js dependency in common's package.json (#6171)
- fix: for gcal events, restore extendedProperties (#5083)
- fix: for gcal events, make attachments available (#5024)
- locale: fixed typos in Tamil (#6115)
- locale: added Bengali (#6096)

Expand Down
3 changes: 2 additions & 1 deletion packages/google-calendar/src/main.ts
Expand Up @@ -155,13 +155,14 @@ function gcalItemToRawEventDef(item, gcalTimezone) {

return {
id: item.id,
attachments: item.attachments || [],
title: item.summary,
start: item.start.dateTime || item.start.date, // try timed. will fall back to all-day
end: item.end.dateTime || item.end.date, // same
url,
location: item.location,
description: item.description,
attachments: item.attachments || [],
extendedProps: (item.extendedProperties || {}).shared || {}
}
}

Expand Down

0 comments on commit 99a5635

Please sign in to comment.