taskwarrior icon indicating copy to clipboard operation
taskwarrior copied to clipboard

Scheduled attribute updated in handleRecurrence.

Open scompo opened this issue 3 years ago • 3 comments

Hi, I'm using the scheduled attribute in a recurring task, and noticed it's not updated when creating the next task.

I think it's a known problem, and related to #1534.

Description

I've handled the scheduled attribute in the same way of wait when handling the recurrence. Just added the difference from the original due and scheduled to the new due date as the scheduled.

Additional information...

  • I've modified the C++ code but I'm not able to build the code on aarch64, so I haven't tested it.

scompo avatar Dec 09 '22 16:12 scompo

@scompo This looks good on my end. Do you think you could add support for the until attribute as well? That way we'd fully address the issue in #1534.

As far as the build failure on aarch64, could you perhaps open up a separate issue about that? We are striving to support multiple architectures, including this one.

tbabej avatar Dec 18 '22 20:12 tbabej

@tbabej Sure, I'll look into updating the until flag too. From the documentation it looks like it should be updated the same as both wait and scheduled. Anything else I should worry about it when upgrading it?

As for for the compilation problem I'll open up a new issue with the error as soon as I'm able to

scompo avatar Dec 19 '22 17:12 scompo

@tbabej do you remember the status here? Was this worthwhile merging without the until support?

djmitche avatar May 05 '24 23:05 djmitche

I'm going to close this as stale. It's still here and can be re-opened!

djmitche avatar Jun 03 '24 21:06 djmitche