obsidian-tracker icon indicating copy to clipboard operation
obsidian-tracker copied to clipboard

Calculate number of days elapsed since tag use

Open ghost opened this issue 6 months ago • 2 comments

Here's what I'm trying to accomplish. I'd like to track the number of days that have elapsed since a tag was used. My first reaction was to use maxBreaks. However, maxBreaks only returns the number of days that have elapsed that have notes..

For example, if I create a note and use a tag on January 1 and then track maxBreaks, I would expect on January 6 that that value would be 5. It shows zero. If I add another note on any day, it will show 1.

Is there any way to track the number of days that have elapsed regardless of whether there is a note each day or not?

ghost avatar Jul 06 '25 15:07 ghost

Isn't it the intended behavior of "currentBreaks"?

NicolasFloquet avatar Oct 01 '25 12:10 NicolasFloquet

I thought the same thing but currentBreaks does not seem to work properly. I have notes up to the 6th of this month but none for today or yesterday but currentBreaks shows 0.0

RMac0001 avatar Dec 08 '25 16:12 RMac0001