New version of Google Tasks has a time component on due date and a way to set repetitive tasks. I have added a picture below.
Can Google Tasks API be used to capture time?
If I use time component in the tasks API due field, tasks API is automatically turning the time component to 00:00
let headers = new HttpHeaders()
.set('Content-Type', 'application/json; charset=UTF-8')
.set('Authorization', 'Bearer '+ self._accessToken);
let body = {
'title': 'Hello world',
'notes': 'random task notes',
'due': '2019-03-27T09:45:00Z'
};
return self.http.post('https://www.googleapis.com/tasks/v1/lists/@default/tasks', body, {headers: headers});