Open GoogleCodeExporter opened 9 years ago
Use +queryForTasksPatchWithObject:tasklist:task: to set the due date of a task.
Note that +queryForTasklistsPatchWithObject: does not take a task identifier as
a parameter.
Original comment by grobb...@google.com
on 30 Sep 2011 at 9:17
Sorry, that was a copy & paste problem.. the step #3 actually uses
[queryForTasksPatchWithObject:tasklist:task]
I think I found the root of the problem: whenever you create a GTLDateTime
using [GTLDateTime dateTimeWithDate:], if the NSDate object contains a
millisecond (such as [NSDate date]), then the
[queryForTasksPatchWithObject:tasklist:task] works. If NSDate object does not
contain milliseconds (such as [NSDate
dateWithTimeIntervalSinceReferenceDate:(pass int here)]), then the update
fails.
GTLDateTime has a property called "milliseconds" and I think there's a bug
around that.
Original comment by kazushi....@gmail.com
on 30 Sep 2011 at 10:49
Re-opening for investigation.
Original comment by grobb...@google.com
on 30 Sep 2011 at 11:11
Filed internally as a Tasks API server bug, b/5399288
Original comment by grobb...@google.com
on 30 Sep 2011 at 11:41
How to remove the due date?
Original comment by 4341...@gmail.com
on 13 Dec 2011 at 5:14
Original issue reported on code.google.com by
kazushi....@gmail.com
on 30 Sep 2011 at 10:42