Compare commits

...

2 commits

Author SHA1 Message Date
Falko Zurell
6cb6d988e9 adjusted README 2024-11-17 21:27:10 +01:00
Falko Zurell
608c71708f adjusted code to match CryptPad file format 2024-11-17 21:26:40 +01:00
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ Persistence: Even if the script is rerun, previously assigned UIDs remain consis
## example CSV file format
```
Gastgeber;Description;Date;start time;end time;Location
Host;Description;Date;start time;end time;Location
Max Müller;Team Meeting;20.11.2024;10:00;11:00;Berlin
Anna Löwe;Project Kickoff;21.11.2024;09:00;10:30;München
```

View file

@ -40,7 +40,7 @@ def generate_ical_from_csv(csv_file):
for row in reader:
try:
# Parse the data from CSV
host = row['Gastgeber']
host = row['Host']
description = row['Description']
date = row['Date'].strip() # Expected format: DD.MM.YYYY
start_time = row['start time'].strip() # Expected format: HH:MM