Obsidian/1000s Templates/This Past Week Template.md

35 lines
1.1 KiB
Markdown
Executable File

---
creation_date: <% tp.date.now() %>
modification date: <% tp.file.last_modified_date("dddd Do MMMM YYYY HH:mm:ss") %>
tags:
- WeeklyNote
---
<< [[Weekly Note <% tp.date.now("YYYY-MM-DD", -7) %>]] | [[Weekly Note <% tp.date.now("YYYY-MM-DD", 7) %>]] >>
## This Week's Daily Notes
[[<% tp.date.now("YYYY-MM-DD", -7, tp.file.title.match(/\d{2}-\d{2}-\d{4}/)[0], "MM-DD-YYYY") %>]]
[[<% tp.date.now("YYYY-MM-DD", -6, tp.file.title.match(/\d{2}-\d{2}-\d{4}/)[0], "MM-DD-YYYY") %>]]
[[<% tp.date.now("YYYY-MM-DD", -5, tp.file.title.match(/\d{2}-\d{2}-\d{4}/)[0], "MM-DD-YYYY") %>]]
[[<% tp.date.now("YYYY-MM-DD", -2, tp.file.title.match(/\d{2}-\d{2}-\d{4}/)[0], "MM-DD-YYYY") %>]]
[[<% tp.date.now("YYYY-MM-DD", -1, tp.file.title.match(/\d{2}-\d{2}-\d{4}/)[0], "MM-DD-YYYY") %>]]
## Last Week's Plan
## Accomplishments
### Tasks and Notes From This Past Week
```dataview
TASK
where completed and file.mtime >= this.file.mday - dur(7 days)
group by file.link
sort rows.file.mtime asc
```
### Papers read this past week
```dataview
table title as "Title", dateread as "Date Read"
where readstatus and dateread => this.creation_date-dur(7)
```
### Remarks
## This Week's Plan