Skip to content

Editing relative recur due and wait values #11

@eshapard

Description

@eshapard

Hey, not really a bug in your hook script (THANK YOU FOR THIS, BTW!), but I noticed some unexpected behavior when editing a task.

If you do task 3 edit and change the relativeRecurDue or Wait values (Say, from P30D to P45D), taskwarrior doesn't seem to handle this as expected (I'm using version 2.5.1). Upon completing the task, the next recurrence will be due immediately instead of after a delay period.

Instead of using the edit function, you have to modify these values from the command line:
task 3 modify relativeRecurDue:45day etc.

(I actually renamed them to the shorter rrdue and rrwait... which I think is how they were in an older version of the script; not sure, but it's faster to type ;-) )

If anyone is googling this issue, here's how to edit the recur periods without breaking it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions