Update Hero component to dynamically display years since founding; enhance TermineVorschau component with improved date and time formatting, and add Uhrzeit column in the CMS for better event management. Refactor API to handle new fields and improve data handling in CSV exports.

This commit is contained in:
Torsten Schulz (local)
2025-11-05 10:36:58 +01:00
parent 21044c6c34
commit 36400304a4
16 changed files with 913 additions and 292 deletions

View File

@@ -32,7 +32,7 @@ export default defineEventHandler(async (event) => {
}
const query = getQuery(event)
const { datum, titel, beschreibung, kategorie } = query
const { datum, uhrzeit, titel, beschreibung, kategorie } = query
if (!datum || !titel) {
throw createError({
@@ -43,6 +43,7 @@ export default defineEventHandler(async (event) => {
await deleteTermin({
datum,
uhrzeit: uhrzeit || '',
titel,
beschreibung: beschreibung || '',
kategorie: kategorie || 'Sonstiges'