55 lines
2.4 KiB
Markdown
55 lines
2.4 KiB
Markdown
```calendar-timeline
|
|
```
|
|
|
|
#### [[<%tp.date.now("YYYY-MM", 0, tp.file.title, "YYYY-[W]WW")%>#^<%tp.date.now("MM", 0, tp.file.title, "YYYY-[W]WW")%>i|Monat]] |[[<%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|Quartal]] | [[<%tp.date.now("YYYY", 0, tp.file.title, "YYYY-[W]WW")%>## Jahresziele|Jahr]]
|
|
|
|
## Aufgaben
|
|
> [!todo]- Aktive Aufgaben
|
|
>```tasks
|
|
>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
|
|
>```tasks
|
|
>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
|
|
>```dataview
|
|
>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
|
|
```dataview
|
|
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
|
|
> ```dataview
|
|
> 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") %>)
|
|
>```
|