I noticed today that an updated iOS version of the Google Tasks app includes the option to set the time in addition to the due date. A welcome improvement, and the due datetime from the iOS app properly appears on the Gsuite website. But, I don't see the time when getting the Task from the API.
Should the API be returning the proper time? All I get is 00:00:00 the same as always.
If it matters, I'm using the PHP API client. Just updated today with composer to be sure I had the most current version.
At the time of writing, according to Google's documentation for the Tasks API:
The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API.
https://developers.google.com/tasks/reference/rest/v1/tasks#resource:-task
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With