Ausgabe Einsatzbeginn angepasst

This commit is contained in:
2024-01-20 14:49:28 +01:00
parent b3e2e58eed
commit 33bd896328

View File

@@ -24,7 +24,7 @@ else:
def input_code():
scancode = input("Scan den Code: ").strip()
if ';' in scancode:
kompletter_qrcode = scancode
nachname, vorname, geburtsdatum, geschlecht, plz, ort, nationalitaet, strasse, helferid, _, hiorg, _, _, _, _ = kompletter_qrcode.split(";")
@@ -43,7 +43,7 @@ def input_code():
print("Hilfsorganisation: " + hiorg)
start_datum = time.strftime("%d.%m.%Y")
start_uhrzeit = time.strftime("%H:%M:%S")
print(start_datum + " " + start_uhrzeit)
print(f"Einsatzbeginn: {start_datum} - {start_uhrzeit}")
else:
print("Code: " + scancode)