Template sync

This commit is contained in:
2026-02-21 20:44:40 +01:00
parent b13a7ab724
commit 18d5bec9e3
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ def get_upcoming_events(days_to_show=None, limit=None):
# Typografie: Bindestrich durch En-Dash () ersetzen
for col in ['Morgen', 'Nachmittag']:
df[col] = df[col].fillna('').astype(str).str.replace('-', '', regex=False)
df[col] = df[col].fillna('').astype(str).str.replace('-', ' ', regex=False)
date_col = config['google_sheet']['date_column']
df = df.dropna(subset=[date_col])

View File

@@ -53,7 +53,7 @@
</head>
<body>
{% if test %}
<div style="width: 370px ; margin: 20px auto; padding: 10px; background: rgb(100, 100, 100); border-radius: 8px;">
<div style="width: 310px ; margin: 20px auto; padding: 10px; background: rgb(100, 100, 100); border-radius: 8px;">
{% endif %}
{% set monate = ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'] %}
{% set ns = namespace(last_month=none, last_week=none) %}