unfog icon indicating copy to clipboard operation
unfog copied to clipboard

Hours and minutes are ignored when adding new tasks

Open MichaelDoron opened this issue 2 years ago • 1 comments

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.

MichaelDoron avatar Jan 01 '22 19:01 MichaelDoron

It may be because of the space between the date and the time. Can you please try to surround the full date with quotes?

soywod avatar Jan 23 '22 18:01 soywod