FEAT-6: Gesundheit/Gewicht/Fotos tab components + hand-rolled SVG LineChart (no chart dependency)

This commit is contained in:
2026-06-06 00:27:09 +02:00
parent 1bf94c2040
commit d7be812ad0
5 changed files with 613 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
/** FEAT-6: Datums-Helfer für Formulare. */
/** Heutiges Datum als ISO "YYYY-MM-DD" in LOKALER Zeit (nicht UTC). */
export function todayISO(): string {
const d = new Date()
const m = String(d.getMonth() + 1).padStart(2, '0')
const day = String(d.getDate()).padStart(2, '0')
return `${d.getFullYear()}-${m}-${day}`
}