Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tasks now have a due TIME as well as DATE but API still says 00:00:00

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.

like image 437
Robert Avatar asked Dec 18 '25 05:12

Robert


1 Answers

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

like image 175
zr0gravity7 Avatar answered Dec 20 '25 04:12

zr0gravity7



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!