google-api-php-client icon indicating copy to clipboard operation
google-api-php-client copied to clipboard

Why don't possible setTime with methods setDue()

Open Xavlight opened this issue 11 months ago • 0 comments

Hi,

This library is really very good.

Environment details

  • OS: Windows 11
  • PHP version: 8.3
  • Package name and version: 2.18.2

But why can't Due tasks and info include a time? This is not taken into account when using the setDue() method. This is a shame. The info can be put in the notes, but this is much less practical, especially when synching with a database. Is an evolution planned, or is this not feasible?

Example Method setDue : $task->setDue("2025-01-07T14:00:00Z");

Example Method getDue : $result = $task->getDue(); //"2025-01-07T00:00:00.000Z" The notion of time has been lost.

Thanks

Xav

Xavlight avatar Jan 07 '25 08:01 Xavlight