-
|
Why can't a pending task have an end date? I think it should be allowed since it then allows having tasks for events that for example, take 2 hours, you'd be able to set the start and end dates accordingly. Maybe i should not use taskwarrior for recording events too, but i do |
Beta Was this translation helpful? Give feedback.
Answered by
djmitche
Nov 8, 2025
Replies: 2 comments 2 replies
-
|
That's what until:date is for
…On Wed., Nov. 5, 2025, 9:44 a.m. klea ***@***.***> wrote:
Why can't a pending task have an end date?
I think it should be allowed since it then allows having tasks for events
that for example, take 2 hours, you'd be able to set the start and end
dates accordingly.
Maybe i should not use taskwarrior for recording events too, but i do
—
Reply to this email directly, view it on GitHub
<#3984>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR6S65TSBRGG7LGHLAGGOT33IELDAVCNFSM6AAAAACLHCPYICVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZZGEYDSMRXHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
-
|
I think literally pending task is one without an end date. and completed task is one with an end date. from src/Task.cpp: // Completed tasks need an end date, so inherit the entry date.
if ((status == Task::completed || status == Task::deleted) && (!has("end") || get("end") == ""))
setAsNow("end");
// Pending tasks cannot have an end date, remove if present
if ((status == Task::pending) && (get("end") != "")) remove("end"); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Taskwarrior isn't really a calendaring app, so you're right that this is an awkward fit.
I'm not sure what you mean by filtering, but that sounds like something that could be captured in a crontask that runs every hour and marks "done" for tasks for events that have ended.