I am sorry for the late reply. I was travelling for my holiday.
First of all, result of days operator would change depends on time.
I couldn't think of any good example at that time.
So, let me try to explain the situation again and ask few other things.
Let's assume,
- Today is 8th of March
- Task A is due 6th of March
- Task B is due 7th of March
- Task C is due 8th of March
- Task D is due 9th of March
- Task E is due 10th of March
The list I want to get is,
Main problem is Task B and D.
I don't think there is obvious way to include Task D and exclude Task B
My first question is '
Is there any easy way of getting the list above?'.
I just couldn't figure it out, so I did some workaround.
Even though I do not have knowlege of javascript or coding but I modified days operator javascript tiddler.
I changed,
- targetTimeStamp = (new Date()).setHours(0,0,0,0) + 1000*60*60*24*dayInterval, <- this line to,
- targetTimeStamp = (new Date()).setHours(0,0,0,0) + 1000*60*60*24*dayInterval + 1000*60*60*24*1, <- to this
I don't really know what's going on in that javascript but I thought this would add one day to the timeline of days operator.
Now,
<<list-links '[days:due[-1]]'>>Result of original days operator,
Result of modified days operator,
This is how I got my result at the moment.
Now, I want to clone this javascript tiddler and make it into new operator with new name. Because I need original days operator as well.
I tried to clone tiddler and change title of it didnt work. How can I do this?