pyrochlore / obsidian-tracker

A plugin tracks occurrences and numbers in your notes
MIT License
1.31k stars 229 forks source link

Display intervals in the calendar view #45

Open jfgoncalves opened 3 years ago

jfgoncalves commented 3 years ago

Hi, I've been using this plugin to track task completion on daily notes with great success, but I'm stumbling over an issue today. I want to track my fasting intervals, so made a table inside a new note looking like this:

Start Date End Date Duration (min) Duration (readable)
12 Jul 2021 at 19:05 20 Jul 2021 at 22:45 11740 8 days, 3 hours, 40 minutes

And on my graph page, I want to display intervals (I only need column 1 and 2), something akin to this. .

Is this currently feasible or it's something not implemented yet? I looked at the extensive documentation, and while I did find how to parse a table data into a calendar view, it was only one-off events.

pyrochlore commented 3 years ago

@jfgoncalves Thanks for the feedback.

This is a feature we may include in future. But for now, both the data collecting and the graph rendering do not have functions to deal with date ranges.

notflip commented 2 years ago

Hi, I've been using this plugin to track task completion on daily notes with great success, but I'm stumbling over an issue today. I want to track my fasting intervals, so made a table inside a new note looking like this:

Start Date End Date Duration (min) Duration (readable) 12 Jul 2021 at 19:05 20 Jul 2021 at 22:45 11740 8 days, 3 hours, 40 minutes And on my graph page, I want to display intervals (I only need column 1 and 2), something akin to this. .

Is this currently feasible or it's something not implemented yet? I looked at the extensive documentation, and while I did find how to parse a table data into a calendar view, it was only one-off events.

Would you mind sharing your daily task completion code?