feat: redesign CMS and unify German admin UI

This commit is contained in:
2026-09-17 16:51:24 +02:00
parent a2b3e99174
commit 7ec0c51ff5
129 changed files with 952 additions and 550 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { formatBerlinDate, formatBerlinTime } from "@/lib/calendar/timezone";
/** Day + short month, e.g. { day: "15", month: "SEP" } — for the date badge on event cards. */
/** Day + short month, e.g. { day: "15", month: "SEP" } - for the date badge on event cards. */
export function formatEventDateParts(iso: string) {
const date = new Date(iso);
return {
@@ -23,7 +23,7 @@ export function formatTime(iso: string) {
}
export function formatTimeRange(start?: string | null, end?: string | null) {
if (start && end) return `${formatTime(start)} – ${formatTime(end)} Uhr`;
if (start && end) return `${formatTime(start)} - ${formatTime(end)} Uhr`;
if (start) return `${formatTime(start)} Uhr`;
return null;
}