timewarrior
timewarrior copied to clipboard
Support excluding specific hours of a day for a specific day
Right now we are able to exclude:
- whole days with
timew config exclusions.days.2021_12_24 = off
- ranges within a day of a week with `timew config exclusions.monday '<9:00 12:40-13:10 >17:30'
But there is no way to exclude part of a single day, e.g. the afternoon of the 24th of December.
Intuitively I would expect something like timew config exclusions.days.2021_12_24 = '>12:00'
to work.
Thanks for this simple yet great tool :)
Related to #4 where a new syntax for exclusions is proposed. With this, your example would be something like
exclusion = 2021-12-24 >12:00
or maybe
exclusion = 12-24 >12:00
if you have Christmas regularly as a half workday.
Thanks for the pointer @lauft, the proposed syntax looks fine to me :)
I see this is still open, so I'll add another vote for "half day" exclusions on certain dates.