Giter VIP home page Giter VIP logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.