From 2ef2894bc77608d46e96ca82e759a8d2931fa43c Mon Sep 17 00:00:00 2001 From: Mora Unie Youer Date: Sun, 1 Mar 2026 14:20:28 +0300 Subject: snapshot: 2026-03-01 --- .zk/config.toml | 1 + dulatx.md | 16 +++++++++++++++- journal/2026-03-01.md | Bin 0 -> 2507 bytes 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 journal/2026-03-01.md diff --git a/.zk/config.toml b/.zk/config.toml index 6f38022..4aaca48 100644 --- a/.zk/config.toml +++ b/.zk/config.toml @@ -214,6 +214,7 @@ recreate = 'rm "$ZK_NOTEBOOK_DIR/.zk/notebook.db" && zk index' # Git commands commit = "$ZK_NOTEBOOK_DIR/.zk/commit.sh" push = "git push origin master $@" +pushf = "git push origin master --force-with-lease $@" # Creation commands directory = 'zk new --no-input --template="directory.md"' 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& 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 diff --git a/journal/2026-03-01.md b/journal/2026-03-01.md new file mode 100644 index 0000000..ba6c215 Binary files /dev/null and b/journal/2026-03-01.md differ -- cgit v1.2.3-70-g09d2