taskwarrior icon indicating copy to clipboard operation
taskwarrior copied to clipboard

Inconvenience of [beginning of period] in due: (eternal topic)

Open astr0gator opened this issue 10 months ago • 3 comments

I suggest adding customization to choose [end of period] for due:

The logic behind 'due' using start of the day and not the end of the day is clear. It's technically not incorrect, but:

  • Subjectively it's not practical since I always need to subtract one day. EOD works like workaround https://github.com/GothenburgBitFactory/taskwarrior/issues/3763, but dates in the future is always tricky especially in combo with wait
  • On the continuum from start of period and end of period we arguably would satisfy more people with end of period, since some use middle. See https://github.com/GothenburgBitFactory/taskwarrior/issues/2709
  • Most people used task managers before. The general convention is that due uses end of period (not start). A quick search shows these intentions over and over again (they might be framed differently):
    • https://github.com/GothenburgBitFactory/taskwarrior/issues/2970
    • https://github.com/GothenburgBitFactory/taskwarrior/issues/1906
    • https://github.com/GothenburgBitFactory/taskwarrior/issues/2709
    • https://github.com/GothenburgBitFactory/taskwarrior/issues/191
    • https://github.com/GothenburgBitFactory/taskwarrior/issues/2650

If it's still an architecture choices that going to stay no matter what, I support suggestions of many others to put that at least in settings:

  • https://github.com/GothenburgBitFactory/taskwarrior/issues/2709
  • https://github.com/GothenburgBitFactory/taskwarrior/issues/1562
  • https://github.com/GothenburgBitFactory/taskwarrior/issues/179

One of the issues has this:

Closing this. In the interest of keeping the Taskwarrior core lean, there are improvements that can and should be achieved using hook scripts. This is one.

Any suggestions would be appreciated.

astr0gator avatar Mar 17 '25 00:03 astr0gator

Ok guys, I wish somebody just told me that before 😄

astr0gator avatar Mar 21 '25 07:03 astr0gator

@djmitche would it maybe make sense to "feature" the default-due-time hook from Thomas on the website? E.g. incorporate it into the documentation from the due time?

felixschurk avatar Apr 07 '25 03:04 felixschurk

I think that's reasonable!

djmitche avatar Apr 07 '25 12:04 djmitche