我正在尝试使用javascript添加新活动:
new_event = {
"summary": 'new event'
"location": 'Somewhere'
"start": {
"dateTime": "2015-01-14T17:00:00.000Z"
},
"end": {
"dateTime": "2015-01-14T18:00:00.000Z"
},
"reminders": {
"useDefault": false
}
}
执行请求后,我得到2个相同的事件。 如果我尝试添加重复
new_event = {
"summary": 'new event'
"location": 'Somewhere'
"start": {
"dateTime": "2015-01-14T17:00:00.000Z"
},
"end": {
"dateTime": "2015-01-14T18:00:00.000Z"
},
"reminders": {
"useDefault": false
},
"recurrence": ["RRULE:FREQ=DAILY;INTERVAL=1;RANGE=ENDAFTER;COUNT=4"]
}
我收到以下错误: 代码:400,消息:"缺少开始时间的时区定义"