[TW-1623] Change interpretation of 1 month duration to every xth day of the month
Andrea Rizzi on 2015-06-14T16:18:35Z says:
I search for this exact request but I couldn't find it. Sorry if this is a duplicate.
I understand that the concept of monthly duration is intrinsically vague, but with the current interpretation of 1month = 30days taskwarrior is effectively a little less flexible.
I have several tasks that are due the first of the month, and some that are due the first day of the third or sixth month. The user that actually need the task every 30 days can use both recur:30days and recur:monthly, but a user in my situation doesn't have a solution.
It's not a big deal, every once in a while I just delete the recurrent task and create it again, but I would be happy to be able to do something like (in Y-M-D format)
task add Test task due:2015-01-05 recur:2months
and see my task created the fifth day of March, May, etc.
Is there a particular reason that I can't see to not implement this?
Migrated metadata:
Created: 2015-06-14T16:18:35Z
Modified: 2015-09-02T00:49:07Z
Paul Beckingham on 2015-06-14T18:46:21Z says:
You are correct, using 2months implies 60d and this is only ever accurate in a leap year.
The period month is special, and because of the vague definition, deserves special handling to make your example work. This is a good suggestion.
I want to add to this suggestion it's a related idea but this should also apply to year, So if you say recur:yearly it for example be scheduled on the 5th of may every year. We should also have something that we can say to recur on a specific day each month and extension of this would be to have variables usable like eom so that we can account for months like february where the end of month is not regular. Sorry for all of these ideas but one more if we were to be able to set a specific day a nice feature is if we could do basic math I'm using this in my work pretty heavily and something we have to keep track of is that some tasks have to be done on the 3rd day before month end so something like eom-3days or bom+10 would be really useful. In fact instead of changing what month means you could just build it so that you specify that it should recur on this date every month.