vault backup: 2023-08-31 07:15:20

This commit is contained in:
2023-08-31 07:15:20 +02:00
parent ffa550cd60
commit 1b6e7df92e

View File

@@ -9,12 +9,6 @@ year: 2023
## Notes ✏
-
```
let pg = dv.current();
var habitArray = [ ["Sport"], ["Stretching"] ];
const tasks = pg.file.tasks.sort(t => dv.date(t.due)).where(t => { if(!t.text.includes("#habit")) { return false; } for (let i = 0; i < habitArray.length; i++) { if(t.text.includes(habitArray[i][0])) { if(t.completion) { habitArray[i].push("✅"); } else { habitArray[i].push("❌"); } } } return true; }); dv.table( ["Habit", "M","T","W","TH","F","SA","SU"], habitArray);
```
## History