Skip to content

Why don't possible setTime with methods setDue() #2654

Open
@Xavlight

Description

@Xavlight

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions