VladimirMarkelov / ttdl

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

Creation date not updated on recurring task completion #61

Closed SevereOverfl0w closed 2 years ago

SevereOverfl0w commented 2 years ago

Given a todo.txt of:

2022-01-01 do the thing rec:5d t:2022-08-28

and the command: ttdl done 1 I would expect the resulting todo.txt to look like:

x 2022-08-28 2022-01-01 do the thing rec:5d t:2022-08-28
2022-08-28 do the thing rec:5d t:2022-09-02

But instead the new command retains the original creation date:

x 2022-08-28 2022-01-01 do the thing rec:5d t:2022-08-28
2022-01-01 do the thing rec:5d t:2022-09-02
VladimirMarkelov commented 2 years ago

Yes, it makes sense. I'll fix it.

VladimirMarkelov commented 2 years ago

Sorry, I closed the issue before I had fixed it. Version 3.4.4 (3.4.3 is the same) should work as expected

SevereOverfl0w commented 2 years ago

Looking good!