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

1.1 KiB
Executable File

creation_date modification date tags
<% tp.date.now() %> <% tp.file.last_modified_date("dddd Do MMMM YYYY HH:mm:ss") %>
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

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

table title as "Title", dateread as "Date Read"
where readstatus and dateread => this.creation_date-dur(7)

Remarks

This Week's Plan