fix date
This commit is contained in:
parent
e2855e9161
commit
e30c36cb6a
1 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ start_date = "2025-10-29"
|
|||
end_date = "2025-11-02"
|
||||
event_org = "Verein der Freunde und Förderer der Bundesfachschaftentagung Elektrotechnik e.V."
|
||||
event_name = "97. Bundesfachschaftentagung Elektrotechnik"
|
||||
attendees_csv = "97_teilnehmer.csv"
|
||||
attendees_csv = "teilnehmer.csv"
|
||||
empty_sheets = 1
|
||||
template_form = "Teilnehmendenliste_FR_22_23_final.pdf"
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ template_form = "Teilnehmendenliste_FR_22_23_final.pdf"
|
|||
|
||||
start = datetime.date.fromisoformat(start_date)
|
||||
end = datetime.date.fromisoformat(end_date)
|
||||
event_period = f'{start.strftime("%d.%m.%y")} - {end.strftime("%d.%m.%y")}'
|
||||
event_period = f'{start.strftime("%d.%m")} - {end.strftime("%d.%m.%y")}'
|
||||
days = int((end - start).days)
|
||||
date_list = [(start + datetime.timedelta(days=i)).strftime('%d.%m.%y') for i in range(days + 1)]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue