summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zk/config.toml1
-rw-r--r--dulatx.md16
-rw-r--r--journal/2026-03-01.mdbin0 -> 2507 bytes
3 files changed, 16 insertions, 1 deletions
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<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
diff --git a/journal/2026-03-01.md b/journal/2026-03-01.md
new file mode 100644
index 0000000..ba6c215
--- /dev/null
+++ b/journal/2026-03-01.md
Binary files differ