0
votes

i integrated google calendar in my iOS application, and insert events from application using this Call " https://www.googleapis.com/calendar/v3/calendars/primary/events " and events inserted sucessfully in my google calendar

i updated pods due to ios 11 now this api now it gives this error in response. cant figure it out where the problem is.

ERROR: Invalid value for: Invalid format: \"2017-12-07 07:00:00\" is malformed at \" 07:00:00\

1
hii i need help in google calendar how to create event through my app in swift @junaidUmerDilip Tiwari
use google api for add event... googleapis.com/calendar/v3/calendars/primary/events this is api u have to hit for adding event to your google primary calendar for more detail visit this link developers.google.com/google-apps/calendar/v3/reference/events/…junaid
and if you want guidance about how to make request in swift 4 u may take a look at swift documentation or u can email me [email protected]junaid
bro how can i connect u @junaidUmerDilip Tiwari
i just left my email adress see in comment abovejunaid

1 Answers

0
votes

The error prolly is due to wrong time format. Follow the RFC3339 for date time formats. It looks something like:

2015-05-28T09:00:00-07:00

Notice the letter T which stands for full date/full-time.