You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added a key month with the value 8 or August but I knew it didn't work after reviewing the code in main.ts ;
If I wanted to develop this feature, what's the best way to do that? can you guide me a bit so I can learn and develop the specific feature for this plug in?
Best,
David
The text was updated successfully, but these errors were encountered:
Maybe you've found out by yourself, but you could simply change the filter so that the heatmap is based on pages where gym is present and the month is August.
Since you're using page.file.name as the date, I'm assuming that your filenames are dates, which means every page object will have the day field available (see the docs). That field is a Luxon DateTime object.
Change where(p=>p.gym) into where(p=>p.gym && p.file.day.month == 8) and you should get what you want.
Hi there,
I was thinking about if there was a way to just show a specific month rather than a whole year, regarding the use case of tracking habits monthly.
My attempt was below
I added a key
month
with the value8
orAugust
but I knew it didn't work after reviewing the code inmain.ts
;If I wanted to develop this feature, what's the best way to do that? can you guide me a bit so I can learn and develop the specific feature for this plug in?
Best,
David
The text was updated successfully, but these errors were encountered: