Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hours and minutes are ignored when adding new tasks #55

Open
MichaelDoron opened this issue Jan 1, 2022 · 1 comment
Open

Hours and minutes are ignored when adding new tasks #55

MichaelDoron opened this issue Jan 1, 2022 · 1 comment

Comments

@MichaelDoron
Copy link

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.

@soywod
Copy link
Owner

soywod commented Jan 23, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants