-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow event creation #9
Conversation
275831d
to
f6d8ad0
Compare
$export['responseStatus'] = $this->getStatus(); | ||
}; | ||
|
||
return $export; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
imo we should return the "undecided" status instead of not returning any statuses
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like a way to return nothing at all for a patch :/
f6d8ad0
to
4e24e8b
Compare
'description' => $this->getDescription(), | ||
'start' => ['dateTime' => $this->getStart()->format('c')], | ||
'end' => ['dateTime' => $this->getEnd()->format('c')], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't you also expose the timezones ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems ok according with google documentation
end.dateTime datetime The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
https://developers.google.com/google-apps/calendar/v3/reference/events/insert#request-body
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, as c
adds the offset
ty! |
No description provided.