I'm trying to create an event for Google Calendar and I'm getting this error :
Invalid value for: "T" found, can only parse bare date string: 2013-08-22T16:00:00
I also tried adding the timezone offset to my string but I set the timezone manually in the EventDateTime object and according to the documentation it's not neccesary.
Here is how I create my time string :
data['start'] = $("#inputDateStart").val() + "T" + $("#inputTimeStart").val();
And how I set this string in my object
$start = new Google_EventDateTime();
$start->setTimeZone('America/Montreal');
$start->setDateTime($data['start']);
$event->setStart($start);
What am I missing? All day events work fine when I just set my date using the setDate function.