summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-14 22:26:02 +0300
committerPaul Buetow <paul@buetow.org>2025-09-14 22:26:02 +0300
commitcaa26dc6d331f1cc30dc8e4a1afac93c7a3b79fe (patch)
treec03ccbd2bb01b07718af9cdcaf8711bb0a5a9fbd
parent208600f08d38572c697677a8c3b6014058425370 (diff)
fix
-rw-r--r--dotfiles/scripts/taskwarriorfeeder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/scripts/taskwarriorfeeder.rb b/dotfiles/scripts/taskwarriorfeeder.rb
index e8199a9..93fffe2 100644
--- a/dotfiles/scripts/taskwarriorfeeder.rb
+++ b/dotfiles/scripts/taskwarriorfeeder.rb
@@ -29,7 +29,7 @@ def notes(notes_dirs, prefix, dry)
match = File.read(notes_file).strip.match(/(?<due>\d+)? *(?<tag>[A-Z]?[a-z,-:]+) *(?<body>.*)/m)
next unless match
- tags = match[:tag].downcase.split(',') + [prefix]
+ tags = match[:tag].split(',') + [prefix]
due = if match[:due].nil?
tags.include?('track') ? '1year' : "#{rand(0..PERSONAL_TIMESPAN_D)}d"
else