VladimirMarkelov / ttdl

TTDL - Terminal Todo List Manager
MIT License
210 stars 17 forks source link

Same output for --due tomorrow..none and --due none #86

Closed 83noit closed 1 year ago

83noit commented 1 year ago

With the following minimal exemple:

ttdl add '(A) Test 1'
ttdl add '(A) Test 2 due:today'
ttdl add '(A) Test 3 due:tomorrow'

ttdl list --due today..none or ttdl list --due tomorrow..none both output the same as ttdl list --due none.

Wouldn't it be expected to see:

VladimirMarkelov commented 1 year ago

Yes, I would expect the same output as you do. I'll fix it

VladimirMarkelov commented 1 year ago

I wonder when it was broken and for how long.

Now it seems fixed. Thanks for finding out the bug 👍🏻

Edit: I did not increase TTDL version yet. I was going to do it after adding rules for priority and completion. If you need a new version on crates.io just ping me and I'll publish the new version.