Files
thpeetz-notes/Resources/Templates/weekly-privat.md
T

3.1 KiB

Routinen der Woche

TABLE WITHOUT ID
  file.link as Datum,
  choice(meditation = true, "✅", "❌") as Meditation,
  choice(pushUps >= 10, "✅", "❌") as Liegestütz,
  choice(plank >= 120, "✅", "❌") as Plank
FROM "Journal/Privat"
WHERE file.day >= date(<% tp.date.weekday("YYYY-MM-DD", 0, tp.file.title, "YYYY-[W]W") %>) AND file.day <= date(<% tp.date.weekday("YYYY-MM-DD", 6, tp.file.title, "YYYY-[W]W") %>)
SORT file.day ASC

Woche <% tp.file.title %> Ziele

  • Persönliche Ziele

  • Berufliche Ziele

  • Erledigtes

^<%tp.date.now("WW", 0, tp.file.title, "YYYY-[W]WW")%>i

<%tp.date.now("YYYY-MM", 0, tp.file.title, "YYYY-[W]WW")%>#^<%tp.date.now("MM", 0, tp.file.title, "YYYY-[W]WW")%>i |<%tp.date.now("YYYY-[Q]Q", 0, tp.file.title, "YYYY-[W]WW")%>#^q<%tp.date.now("Q", 0, tp.file.title, "YYYY-[W]WW")%>i | <%tp.date.now("YYYY", 0, tp.file.title, "YYYY-[W]WW")%>## Jahresziele

Leseliste

!Leseliste Thomas#Leseliste

Aufgaben

[!todo]- Aktive Aufgaben

not done
(happens on or before <% tp.date.weekday("YYYY-MM-DD", 6, tp.file.title, "YYYY-[W]W") %>) AND NOT (scheduled <% tp.date.weekday("YYYY-MM-DD", 0, tp.file.title, "YYYY-[W]W") %> <% tp.date.weekday("YYYY-MM-DD", 6, tp.file.title, "YYYY-[W]W") %>)
path regex does not match /^Resources\/Templates\/.*/
path regex does not match /^Übersicht\/.*/

[!hint]- Geplante Aufgaben

not done
scheduled <% tp.date.weekday("YYYY-MM-DD", 0, tp.file.title, "YYYY-[W]W") %> <% tp.date.weekday("YYYY-MM-DD", 6, tp.file.title, "YYYY-[W]W") %>
path regex does not match /^Resources\/Templates\/.*/
path regex does not match /^Übersicht\/.*/

[!done]- Erledigte Aufgaben

TASK
WHERE completed AND completion >= date(<% tp.date.weekday("YYYY-MM-DD", 0, tp.file.title, "YYYY-[W]W") %>) AND completion < date(<% tp.date.weekday("YYYY-MM-DD", 7, tp.file.title, "YYYY-[W]W") %>)

History

<%* Array.from(Array(7).keys()).map((i) => { date = tp.date.weekday("YYYY-MM-DD", i, tp.file.title, "YYYY-[W]W"); year = tp.date.weekday("YYYY", i, tp.file.title, "YYYY-[W]W"); month = tp.date.weekday("MM", i, tp.file.title, "YYYY-[W]W"); tR += ### ${date}\n; tR += ![[Journal/Privat/${year}/${month}/${date}#Journal]]\n\n; }); %>

Geburtstage

TABLE birthday as Geburtstag, truncate(string(date(today) - birthday),2, "") AS Alter
FROM "Infos/Kontakte"
WHERE birthday.month >= <% tp.date.weekday("MM", 0, tp.file.title, "YYYY-[W]W") %> AND birthday.day >= <% tp.date.weekday("DD", 0, tp.file.title, "YYYY-[W]W") %> 
WHERE birthday.month <= <% tp.date.weekday("MM", 7, tp.file.title, "YYYY-[W]W") %> AND birthday.day < <% tp.date.weekday("DD", 7, tp.file.title, "YYYY-[W]W") %>
SORT birthday.day 

[!note]- Erzeugte Notizen

LIST
WHERE file.cday >= date(<% tp.date.weekday("YYYY-MM-DD", 0, tp.file.title, "YYYY-[W]W") %>) AND file.cday < date(<% tp.date.weekday("YYYY-MM-DD", 6, tp.file.title, "YYYY-[W]W") %>)