Zeiträume
Tag, Woche, Monat mit Kalenderwoche in Mono; „Heute“ springt zurück, Klick aufs Datum öffnet den Kalender.
Navigation
Page through days, weeks or months (time tracking, reports). Calendar week in Mono, "Today" jumps back, the label opens the date picker. Keyboard: Left/Right page, T = today. Works with links or HTMX.
Tag, Woche, Monat mit Kalenderwoche in Mono; „Heute“ springt zurück, Klick aufs Datum öffnet den Kalender.
Pfeile, „Heute“ und Kalender laden nur die Einträge nach; Tastatur ← → blättern, T = heute.
Mittwoch, 25. November 2026KW 48
<tc-date-navigation date period> baut Pfeile, „Heute“ und Ansichten selbst; ohne href meldet tc-change das neue Datum.
| Option | Standard | Werte | Beschreibung |
|---|---|---|---|
date | 'None' | – | Selected date (date, datetime or ISO string); default today. |
period | 'day' | Day, week, month or year. | |
periods | "('day', 'week', 'month')" | – | Choices of the view switch as names or (value, label); empty hides it. |
href | '' | – | Link pattern with {date} (ISO) and {period}; default: current query with both replaced. |
date_param | 'date' | – | Date parameter name. |
period_param | 'period' | – | Period parameter name. |
today | True | – | Show the "Today" button. |
week | True | – | Show the calendar week under the label. |
picker | True | – | Clicking the label opens the calendar (theme date picker without field). |
label | '' | – | Override the generated date label. |
today_label | '' | – | Text of the today button (default "Today"). |
week_format | '' | – | Calendar week text, e.g. "KW %(week)s" (default "CW %(week)s"). |
Zusätzliche Attribute (z. B. class, aria-*, data-*) und HTMX-Kurzformen (get, post, get_url, post_url, target, swap, trigger, confirm) werden an das Element „root“ durchgereicht.