<%* let dest_path = '1000 Daily Notes/' let title = tp.file.title let format = 'YYYY-MM-DD' let today = tp.date.now(format, 0, title, format) let yesterday = tp.date.now(format, -1, today, format) let tomorrow = tp.date.now(format, 1, today, format) let day = tp.date.now("dd", 0, title, format) tp.file.move(dest_path + title ) tp.user.PinMe() if (today == tp.date.now(format) ) { app.commands.executeCommandById("obsidian-day-planner:app:link-day-planner-to-note") } _%>
Type: daily_note Day: <% tp.date.now('D', 0, title, format) %> Month: <% tp.date.now('MMMM', 0, title, format) %> Week: <% tp.date.now('w', 0, title, format) %> Year: <% tp.date.now('YYYY', 0, title, format) %>
<< [[<% dest_path + yesterday %>|<%yesterday%>]] | [[<% dest_path + tomorrow %>|<% tomorrow %>]] >>
![[<% dest_path + tp.date.now('YYYY') %>-W<% tp.date.now('ww') %>#This week]]
not done
due before <% tp.date.weekday("YYYY-MM-DD", 6) %>
dice: [[Daily Quotes]]|line
<%* switch (day) { case 'We': tR += await tp.file.include("[[Templates/Wed Schedule]]"); break; case 'Fr': tR += await tp.file.include("[[Templates/Friday Schedule]]"); break; default: tR += await tp.file.include("[[Templates/Default Schedule]]"); break; } -%>
<% tp.file.cursor() %>
TABLE Status as Status FROM "4000 Posts"
WHERE Status = "in-progress"
not done
heading does not include Schedule
heading does not include End-of-week checklist
heading does not include This month
heading does not include This week
path does not include Templates
group by filename