Comments (5)
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 [email protected]
on 30 Sep 2011 at 9:17
- Changed state: Invalid
- Added labels: ****
- Removed labels: ****
from google-api-objectivec-client.
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 [email protected]
on 30 Sep 2011 at 10:49
- Added labels: ****
- Removed labels: ****
from google-api-objectivec-client.
Re-opening for investigation.
Original comment by [email protected]
on 30 Sep 2011 at 11:11
- Changed state: New
- Added labels: ****
- Removed labels: ****
from google-api-objectivec-client.
Filed internally as a Tasks API server bug, b/5399288
Original comment by [email protected]
on 30 Sep 2011 at 11:41
- Changed state: Accepted
- Added labels: ****
- Removed labels: ****
from google-api-objectivec-client.
How to remove the due date?
Original comment by [email protected]
on 13 Dec 2011 at 5:14
- Added labels: ****
- Removed labels: ****
from google-api-objectivec-client.
Related Issues (14)
- Patch for /trunk/Source/Objects/GTLBatchQuery.h HOT 2
- json-framework authentication ? HOT 4
- shouldFetchNextPages not work HOT 5
- classForAdditionalProperties for GTLCalendarEventExtendedPropertiesShared and GTLCalendarEventExtendedPropertiesPrivate HOT 2
- Need more useful error messages HOT 1
- Need timeoutInterval setter of GTLService HOT 4
- Patch for /trunk/Examples/PlusSample/PlusSampleAppController.h HOT 1
- Patch for /trunk/Source/GTL.xcodeproj/project.pbxproj HOT 1
- Patch for /trunk/Source/GTL.xcodeproj/project.pbxproj HOT 1
- -DGTL_BUILDS_AS_FRAMEWORK=1 should be -DGTL_BUILT_AS_FRAMEWORK=1 HOT 1
- Calendar event's colorID property HOT 4
- Xcode 4 unable to link to the static GTL library HOT 7
- Library can't compile on new checkout due to changes in json-framework HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-api-objectivec-client.