Skip to content

Hours and minutes are ignored when adding new tasks #55

Open
@MichaelDoron

Description

Thanks for building this! There's one issue that I think is a bug:

Expected behavior:
When typing (at 2022/01/01, 14:34)
unfog add test -d 2022-01-01 19:00
The expected output of unfog should be:
ID |DESC |PROJECT |ACTIVE |DUE |WORKTIME
bf2f |test | | |in 4 hours |

Instead, the output is
ID |DESC |PROJECT |ACTIVE |DUE |WORKTIME
bf2f |test 19:00 | | |14 hours ago |

With the 19:00 moved to the DESC column instead of the DUE column.

This reproduces both in the VIM environment and directly in the command line.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions