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

71 lines
2.2 KiB
Markdown

---
work_hours: 0
---
```calendar-timeline
```
> ## Monats Ziele - [[<% tp.file.title %>|<%tp.date.now("MMMM", 0, tp.file.title, "YYYY-MM")%>]]
> 1. Objective one
> 2. Objective two
> 3. Objective three ^<% tp.date.now("MM", 0, tp.file.title, "YYYY-MM")%>i
#### [[<%tp.date.now("YYYY-[Q]Q", 0, tp.file.title, "YYYY-MM")%>#^q<%tp.date.now("Q", 0, tp.file.title, "YYYY-MM")%>i|Quartal]] | [[<%tp.date.now("YYYY", 0, tp.file.title, "YYYY-MM")%>#^<%tp.date.now("YYYY", 0, tp.file.title, "YYYY-MM")%>i|Jahr]]
## Aufgaben
> [!examples]- Backlog
>```tasks
>not done
>no scheduled date
>no start date
>no due date
>path regex does not match /^Resources\/Templates\/.*/
>path regex does not match /^Übersicht\/.*/
>path regex does not match /^Journal\/.*/
>```
> [!todo]- Aktive Aufgaben
>```tasks
>not done
>starts on or before <% tp.date.now("YYYY-MM", "P+1M", tp.file.title, "YYYY-MM") %>-01
>has start date
>no scheduled date
>path regex does not match /^Resources\/Templates\/.*/
>path regex does not match /^Übersicht\/.*/
>path regex does not match /^Journal\/.*/
>```
> [!hint]- Geplante Aufgaben
>```tasks
>not done
>scheduled <% tp.date.now("YYYY-MM", 0, tp.file.title, "YYYY-MM") %>-01 <% tp.date.now("YYYY-MM", "P+1M", tp.file.title, "YYYY-MM") %>-01
>path regex does not match /^Resources\/Templates\/.*/
>path regex does not match /^Übersicht\/.*/
>```
> [!done]- Erledigte Aufgaben
>```dataview
>TASK
>FROM !"Resources/Templates"
>WHERE completed AND completion >= date(<% tp.date.now("YYYY-MM", 0, tp.file.title, "YYYY-MM") %>-01) AND completion < date(<% tp.date.now("YYYY-MM", "P+1M", tp.file.title, "YYYY-MM") %>-01)
>SORT completion, start
>```
## Geburtstage
```dataview
TABLE birthday as Geburtstag, truncate(string(date(today) - birthday),2, "") AS Alter
FROM "Infos/Kontakte"
WHERE birthday.month = <% moment(tp.file.title,'YYYY-MM').format("MM") %>
SORT birthday.day
```
## Anwesenheit
```dataview
TABLE WITHOUT ID
file.link as Datum,
choice(work_home = true, "✅", "❌") as HomeOffice,
choice(work_office = true, "✅", "❌") as Büro
FROM "Journal/cimt AG"
WHERE file.day >= date(<% tp.date.now("YYYY-MM", 0, tp.file.title, "YYYY-MM") %>-01) AND file.day < date(<% tp.date.now("YYYY-MM", "P+1M", tp.file.title, "YYYY-MM") %>-01)
SORT file.day ASC
```