mjdescy / TodoTxtMac

TodoTxtMac is a minimalist, keyboard-driven to-do manager for Mac OS X (10.8 Mountain Lion and higher) that conforms to the todo.txt format spec.
Other
240 stars 40 forks source link

Recurring task wrongly applied to completed tasks #124

Closed dbadol closed 7 years ago

dbadol commented 7 years ago

Hello,

When a recurring task is completed, it's next instance is correctly created:

(A) 2017-04-29 Pay NET @Internet t:2017-06-01 due:2017-06-01 rec:+1m
x 2017-04-29 2017-04-04 Pay NET @Internet t:2017-05-01 due:2017-05-01 rec:+1m

However, if I edit the completed task (here, in order to add the priority that was lost during completion), yet another instance is created:

(A) 2017-04-29 Pay NET @Internet t:2017-06-01 due:2017-06-01 rec:+1m
(A) 2017-04-29 Pay NET @Internet t:2017-06-01 due:2017-06-01 rec:+1m
x 2017-04-29 (A) 2017-04-04 Pay NET @Internet t:2017-05-01 due:2017-05-01 rec:+1m

I guess it would make more sense if editing completed tasks would not trigger the creation of another instance of the recurring task.

Cheers, David

mjdescy commented 7 years ago

@dbadolato Your suggestion is reasonable. I will see what I can do.