-
I am tracking my time in Obsidian, and each log is a separate file where the metadata contains the duration of the activity and a list of categories separated by "|" that the activity belongs to. I can use this:
to get the total time spent on activities that match category XYZ. However, this works only when the category field is an exact match with XYZ. I also want to capture those log files where the category contains XYZ, but I am not able to adapt this snippet to work in this setting. Any advice would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
t.category.includes()
? Can you share some metadata as well?