summaryrefslogtreecommitdiff
path: root/dulatx.md
diff options
context:
space:
mode:
Diffstat (limited to 'dulatx.md')
-rw-r--r--dulatx.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/dulatx.md b/dulatx.md
index 668efe5..e73149d 100644
--- a/dulatx.md
+++ b/dulatx.md
@@ -18,7 +18,7 @@ tags:
I made this patch to fix the issue of `until` and `scheduled` being not recalculated:
```diff
diff --git a/src/recur.cpp b/src/recur.cpp
-index 482fc1060..5e2627b40 100644
+index 482fc1060..251acb58c 100644
--- a/src/recur.cpp
+++ b/src/recur.cpp
@@ -118,6 +118,30 @@ void handleRecurrence() {
@@ -51,6 +51,20 @@ index 482fc1060..5e2627b40 100644
+
rec.set("imask", i);
rec.remove("mask"); // Remove the mask of the parent.
+
+@@ -157,7 +181,11 @@ bool generateDueDates(Task& parent, std::vector<Datetime>& allDue) {
+ Datetime until;
+ if (parent.get("until") != "") {
+ until = Datetime(parent.get("until"));
+- specificEnd = true;
++
++ // NOTE: this disables note generation from recur when reached `until`
++ // This is not what behaviour I want, so I disable this.
++ //
++ // specificEnd = true;
+ }
+
+ auto recurrence_limit = Context::getContext().config.getInteger("recurrence.limit");
```
## Up