QTodoTxt2 icon indicating copy to clipboard operation
QTodoTxt2 copied to clipboard

repeating/recurring tasks bug

Open sttrebo opened this issue 7 years ago • 9 comments

quick one, hopefully an easy one to fix. I was having a problem with a task recurrence which was driving me crazy. I had mistakenly added rec:+1b instead of rec:+1d. can you add (or check if working) a filter for allowable characters (dwmy only) in the rec: string?

sttrebo avatar Dec 22 '17 16:12 sttrebo

b is an allowed character. It only counts business days.

That does not solve this issue of course. Just for information.

topas-rec avatar Dec 22 '17 16:12 topas-rec

hmmm, i had some strange behavior when i used it.

(A) Review NCMR Log +Admin @Work t:2017-12-22 rec:+1d due:2017-12-22 - works fine, both due and threshold increment properly

if I change the d to a b then mark the task as done, I get this: (A) Review NCMR Log +Admin @Work t:2017-12-22 rec:+1b due:2017-12-25

then if I mark it as done again I get this: (A) Review NCMR Log +Admin @Work t:2017-12-25 rec:+1b due:2017-12-25

it seems that with the 'b', the due and threshold dates don't increment properly.

sttrebo avatar Dec 22 '17 16:12 sttrebo

The first repetition seems correct (jumping over the weekend...) The second one should be due on 26th I think.

topas-rec avatar Dec 22 '17 16:12 topas-rec

incrementing to the 25th is correct, but you notice how the threshold date doesn't increment the first time i mark it as done, takes a second time to increment it properly. if i use +1d then both increment properly.

sttrebo avatar Dec 22 '17 16:12 sttrebo

I see. That is wrong.

topas-rec avatar Dec 22 '17 16:12 topas-rec

i know i should learn python to help out a bit (on my list), but any chance on a fix for this?

sttrebo avatar Jan 16 '18 16:01 sttrebo

On my list. Looking forward to find some time. Thanks for the reminder.

topas-rec avatar Jan 16 '18 20:01 topas-rec

What is the logic of the threshold date and recurring tasks? Should the new threshold date have the same (positive or negative) time delta as the old threshold date in comparison to the old due date?

topas-rec avatar Mar 27 '18 20:03 topas-rec

for my workflow, the threshold date should follow the same time delta as the due date. Me personally, I don't see a workflow otherwise.

sttrebo avatar Mar 27 '18 20:03 sttrebo