Skip to content
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

Merged
merged 2 commits into from
Apr 6, 2016
Merged

Conversation

krichprollsch
Copy link
Member

No description provided.

$export['responseStatus'] = $this->getStatus();
};

return $export;
Copy link
Contributor

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

Copy link
Member Author

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 :/

'description' => $this->getDescription(),
'start' => ['dateTime' => $this->getStart()->format('c')],
'end' => ['dateTime' => $this->getEnd()->format('c')],
Copy link
Contributor

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 ?

Copy link
Member Author

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

Copy link
Contributor

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

@Taluu Taluu merged commit abf9b54 into Calendart:master Apr 6, 2016
@krichprollsch
Copy link
Member Author

ty!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants