diff options
| author | 2026-03-01 14:20:28 +0300 | |
|---|---|---|
| committer | 2026-03-01 14:20:28 +0300 | |
| commit | 2ef2894bc77608d46e96ca82e759a8d2931fa43c (patch) | |
| tree | 805bb864ed2b304a2c87d9ab09c242e1e6af3427 /dulatx.md | |
| parent | snapshot: 2026-02-28 (diff) | |
| download | zk-2ef2894bc77608d46e96ca82e759a8d2931fa43c.tar.gz zk-2ef2894bc77608d46e96ca82e759a8d2931fa43c.tar.bz2 zk-2ef2894bc77608d46e96ca82e759a8d2931fa43c.tar.lz zk-2ef2894bc77608d46e96ca82e759a8d2931fa43c.tar.xz zk-2ef2894bc77608d46e96ca82e759a8d2931fa43c.tar.zst zk-2ef2894bc77608d46e96ca82e759a8d2931fa43c.zip | |
snapshot: 2026-03-01
Diffstat (limited to 'dulatx.md')
| -rw-r--r-- | dulatx.md | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -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 |
