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

2.4 KiB

<%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

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/cimt AG/${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") %>)