layout angepasst

This commit is contained in:
Bernd Reuther committed 2026-10-06 14:34:14 +02:00
1 parent 6c092b72f6
commit 23490a8c5a
3 files changed
+35 -19

No files matched your search

+2 -2
View File
@@ -204,7 +204,7 @@ app.config["MAX_CONTENT_LENGTH"] = MAX_UPLOAD_MB * 1024 * 1024
def format_datetime(timestamp):
return datetime.fromtimestamp(timestamp, ZoneInfo("Europe/Berlin")).strftime(
"%d.%m.%Y %H:%M:%S"
"%d.%m.%y %H:%M"
)
@@ -1900,7 +1900,7 @@ def index():
dt = datetime.fromisoformat(date.replace("Z", "+00:00"))
if dt.tzinfo is None:
dt = dt.replace(tzinfo=ZoneInfo("Europe/Berlin"))
dt_text = dt.astimezone(ZoneInfo("Europe/Berlin")).strftime("%d.%m.%Y %H:%M:%S")
dt_text = dt.astimezone(ZoneInfo("Europe/Berlin")).strftime("%d.%m.%y %H:%M")
except ValueError:
pass
finished.append({