fix: Aufteilung – Final-Review-Nachträge (Monat <1000, Übrige-Mitglieder, Auth-Test, Doku) (A13)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -426,8 +426,8 @@ def _aufteilung_context(session: Session, today: date, monat: str | None,
|
||||
if month is None:
|
||||
ctx["error"] = f"Ungültiger Monat „{monat}“ – bitte im Format JJJJ-MM wählen."
|
||||
return ctx
|
||||
ctx["monat_wert"] = month.strftime("%Y-%m")
|
||||
ctx["monat_anzeige"] = month.strftime("%m.%Y")
|
||||
ctx["monat_wert"] = f"{month.year:04d}-{month.month:02d}"
|
||||
ctx["monat_anzeige"] = f"{month.month:02d}.{month.year:04d}"
|
||||
scenario = None
|
||||
if szenario:
|
||||
valid_id = re.fullmatch(r"[0-9]{1,9}", szenario) # ASCII, kein Integer-Überlauf
|
||||
|
||||
Reference in New Issue
Block a user