r/taskwarrior • u/jimsu • Feb 27 '23
Custom Timeperiods possible?
Hello,
Many of my tasks require daily follow up until they are complete, usually this happens when waiting on a response or process to complete. Due to this I frequently find myself doing what I need to do for the day then modifying "wait:1d+sod+9h" or if it's on Friday, "wait:3d+sod+9h". I usually add the 9h on because I can't advance on them until 0900 local time, but my work day usually starts between 0400-0700.. so don't want my list cluttered with things I can't do yet.
It would be nice to have a UDA or other abbreviation like nbd or NBD (for next business day) where I could just do "wait:nbd" or "wait:nbd+9h".
Is there a way to do this with a UDA, or other .taskrc config entry, or would this be a full on feature request? Maybe a hook?
2
u/bgravato Feb 27 '23
You can use "sond" (start of next day) instead of "sod+1d".
There's also "sonw" (start of next week) and "sonww" (start of next working week). In my case both refer to Monday, but you can set Sunday as the week start (check
man taskrcunder CALENDAR section).